ソースを参照

Chore: update domain alive check

SukkaW 10 ヶ月 前
コミット
42ab976325
1 ファイル変更1 行追加1 行削除
  1. 1 1
      Build/lib/is-domain-alive.ts

+ 1 - 1
Build/lib/is-domain-alive.ts

@@ -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 });
-  return onDomainDead(apexDomain);
+  return onDomainDead('.' + apexDomain);
 }
 
 // TODO: this is a workaround for https://github.com/LayeredStudio/whoiser/issues/117