thsf.net/maintenance/scripts/maintenance.js
2023-05-27 19:23:09 +11:00

8 lines
251 B
JavaScript

$("#reboot").on("click", function(){
$.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);
});
});