Browse Source

Chore: update domain alive check

SukkaW 10 months ago
parent
commit
42ab976325
1 changed files with 1 additions and 1 deletions
  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 });
   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