feat: status page + maintenance

This commit is contained in:
mco-system
2023-05-27 16:55:00 +11:00
parent b183059f85
commit c969dc0e2d
3 changed files with 4 additions and 4 deletions

View File

@@ -5,9 +5,9 @@ function reboot() {
document.getElementById("logs").innerHTML = this.responseText;
}
};
xhttp.open("GET", "https://www.thsf.net/maintenance/reboot.py", true);
xhttp.open("GET", "https://www.thsf.net/thsf.net/maintenance/reboot.py", true);
xhttp.send();
setTimeout(function () {
document.location="https://www.thsf.net/maintenance/status.py"}, 5000
document.location="https://www.thsf.net/thsf.net/maintenance/status.py"}, 5000
);
}