mirror of
https://github.com/SukkaW/Surge.git
synced 2025-12-12 17:20:35 +08:00
Chore: update domain alive check
This commit is contained in:
parent
cd0fd4d3dd
commit
42ab976325
@ -244,7 +244,7 @@ async function isApexDomainAlive(apexDomain: string): Promise<[string, boolean]>
|
|||||||
}
|
}
|
||||||
|
|
||||||
console.log(picocolors.red('[domain dead]'), 'whois not found', { domain: apexDomain, err: whoisError });
|
console.log(picocolors.red('[domain dead]'), 'whois not found', { domain: apexDomain, err: whoisError });
|
||||||
return onDomainDead(apexDomain);
|
return onDomainDead('.' + apexDomain);
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: this is a workaround for https://github.com/LayeredStudio/whoiser/issues/117
|
// TODO: this is a workaround for https://github.com/LayeredStudio/whoiser/issues/117
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user