mirror of
https://github.com/vladmandic/automatic
synced 2026-09-08 05:48:42 +02:00
new middleware handler and ability to restart server on-the-fly
This commit is contained in:
+1
-1
@@ -344,7 +344,7 @@ function update_token_counter(button_id) {
|
||||
|
||||
function restart_reload(){
|
||||
document.body.innerHTML='<h1 style="font-family:monospace;margin-top:20%;color:lightgray;text-align:center;">Reloading...</h1>';
|
||||
setTimeout(function(){location.reload()},2000)
|
||||
setTimeout(function(){location.reload()},8000)
|
||||
|
||||
return []
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user