thsf.net/maintenance/scripts/maintenance.js

8 lines
259 B
JavaScript

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