mirror of
https://github.com/casjaysdevdocker/bind
synced 2024-11-26 05:23:09 -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;
|
|
}
|