bind/rootfs/usr/share/httpd/default/js/errorpages/homepage.js
casjay caad53d7d1
🦈🏠🐜 Initial Commit 🐜🦈🏠
2024-08-27 09:44:41 -04:00

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;
}