Chore: domain alive check use custom fetch for DoH [skip ci]

This commit is contained in:
SukkaW
2026-04-16 03:38:32 +08:00
parent 2fa532a366
commit a029b84b0c
4 changed files with 25 additions and 10 deletions

View File

@@ -72,7 +72,8 @@ export async function getMethods() {
const isDomainAlive = createDomainAliveChecker({
dns: {
dnsServers,
maxAttempts: 6
maxAttempts: 6,
customFetchForDoH: $$fetch as typeof fetch
},
registerableDomainResultCache,
resultCache,