feat: status page + maintenance

This commit is contained in:
mco-system 2023-05-27 17:36:03 +11:00
parent 7a2fdec8d4
commit 9112763234

View File

@ -2,7 +2,9 @@ function reboot() {
var xhttp = new XMLHttpRequest();
xhttp.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
console.log("Ready...");
document.getElementById("logs").innerHTML = this.responseText;
console.log("Hop");
setTimeout(function () {location.reload()}, 5000);
}
};