瀏覽代碼

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