feat: status page + maintenance
This commit is contained in:
parent
7a2fdec8d4
commit
9112763234
|
@ -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);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue