mirror of
https://github.com/casjaysdevdocker/bind
synced 2024-11-23 11:23:10 -05:00
7 lines
192 B
JavaScript
7 lines
192 B
JavaScript
|
function homepage() {
|
||
|
let proto = location.protocol;
|
||
|
let port = location.port;
|
||
|
let currentSite = window.location.hostname;
|
||
|
window.location = proto + '//' + currentSite + ':' + port;
|
||
|
}
|