Skip to content

Instantly share code, notes, and snippets.

@stewartduffy
Created May 20, 2019 06:10
Show Gist options
  • Save stewartduffy/79dba451f24a548103425de29cc67470 to your computer and use it in GitHub Desktop.
Save stewartduffy/79dba451f24a548103425de29cc67470 to your computer and use it in GitHub Desktop.
console.log('location.host ' + location.host);
console.log('location.origin ' + location.origin);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment