1 Commits

Author SHA1 Message Date
naturallaw777 23f8297333 updated caddy icon 2026-04-13 18:18:06 -05:00
2 changed files with 94 additions and 2 deletions
+93 -1
View File
File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 5.1 KiB

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