8 lines
251 B
JavaScript
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);
|
|
});
|
|
});
|