mirror of
https://github.com/dockersrc/scripts
synced 2024-11-25 23:23:06 -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;
|
|
}
|