thsf.net/maintenance/scripts/maintenance.js
2023-05-27 18:46:33 +11:00

9 lines
275 B
JavaScript

$("#reboot").on("click", function(){
console.log("vroom");
$.get("https://www.thsf.net/thsf.net/maintenance/reboot.py", function(data, status){
console.log(status);
$("#logs").html = data;
setTimeout(function () {document.location.reload()}, 5000);
});
});