From 99f02aa7961c5525655e34455861f871bf173dec Mon Sep 17 00:00:00 2001 From: Ismail Ali Date: Mon, 28 Apr 2025 21:57:59 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20Wartezeit=20beim=20CPL=20Neustart=20auf?= =?UTF-8?q?=20120=20Sekunden=20erh=C3=B6ht?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Ladebalken-Geschwindigkeit angepasst: Fortschritt jetzt über 120 Sekunden verteilt - Weiterleitung auf Dashboard erst nach 120 Sekunden - Bessere Übereinstimmung mit der tatsächlichen CPL Neustartdauer --- .../main/settingsPageComponents/handlers/handleReboot.ts | 4 ++-- config/webVersion.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/main/settingsPageComponents/handlers/handleReboot.ts b/components/main/settingsPageComponents/handlers/handleReboot.ts index a99a8d1..7664356 100644 --- a/components/main/settingsPageComponents/handlers/handleReboot.ts +++ b/components/main/settingsPageComponents/handlers/handleReboot.ts @@ -58,7 +58,7 @@ const handleReboot = async (newIp: string | null = null): Promise => { if (progress >= 100) { clearInterval(interval); } - }, 300); + }, 1200); // <-- Statt 300ms jetzt 1200ms pro +1% } else { console.error("Progress-Bar-Element nicht gefunden."); } @@ -75,7 +75,7 @@ const handleReboot = async (newIp: string | null = null): Promise => { setTimeout(() => { window.location.href = `${baseRedirectURL}${redirectPath}`; - }, 33000); + }, 120000); // <-- Statt 33000ms jetzt 120000ms (2 Minuten) 120 Sekunden const url = `${window.location.origin}/CPL?wait2reboot.html&BOOT=1`; console.log(url); diff --git a/config/webVersion.ts b/config/webVersion.ts index e451e6c..663c399 100644 --- a/config/webVersion.ts +++ b/config/webVersion.ts @@ -6,5 +6,5 @@ 2: Patch oder Hotfix (Bugfixes oder kleine Änderungen). */ -const webVersion = "1.6.297"; +const webVersion = "1.6.298"; export default webVersion;