showing results for - "window location host vs origin"
Axel
09 Nov 2018
1console.log(window.location.host); // localhost:3000
2console.log(window.location.hostname); // localhost
3console.log(window.location.origin); // http://localhost:3000