mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-29 01:51:52 +08:00
Chore: update domain alive check
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user