mirror of
https://github.com/SukkaW/Surge.git
synced 2026-04-30 01:46:57 +08:00
Chore: domain alive check use custom fetch for DoH [skip ci]
This commit is contained in:
@@ -72,7 +72,8 @@ export async function getMethods() {
|
||||
const isDomainAlive = createDomainAliveChecker({
|
||||
dns: {
|
||||
dnsServers,
|
||||
maxAttempts: 6
|
||||
maxAttempts: 6,
|
||||
customFetchForDoH: $$fetch as typeof fetch
|
||||
},
|
||||
registerableDomainResultCache,
|
||||
resultCache,
|
||||
|
||||
Reference in New Issue
Block a user