Created
May 2, 2018 20:53
-
-
Save GitHub30/4d7a3d32dab2cd938e143a1d9ca011c1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
async function checkAppDomain(subdomain='subdomain'){ | |
const res = await fetch('https://domain-registry.appspot.com/check?domain=' + subdomain + '.app').then(r => r.json()); | |
console.info(subdomain, res); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment