3 Commits
2 changed files with 2 additions and 94 deletions
+1 -93
View File
File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 5.1 KiB

After

Width:  |  Height:  |  Size: 22 KiB

+1 -1
View File
@@ -174,7 +174,7 @@ function doReboot() {
if ($rebootOverlay) $rebootOverlay.classList.add("visible");
_rebootStartTime = Date.now();
_serverWentDown = false;
fetch("/api/reboot", { method: "POST" }).catch(function() {});
apiFetch("/api/reboot", { method: "POST" }).catch(function() {});
// Wait 15 seconds before the first check — give the system time to actually shut down
setTimeout(waitForServerReboot, 15000);
}