fix: Wartezeit beim CPL Neustart auf 120 Sekunden erhöht

- Ladebalken-Geschwindigkeit angepasst: Fortschritt jetzt über 120 Sekunden verteilt
- Weiterleitung auf Dashboard erst nach 120 Sekunden
- Bessere Übereinstimmung mit der tatsächlichen CPL Neustartdauer
This commit is contained in:
Ismail Ali
2025-04-28 21:57:59 +02:00
parent 76d11cfac3
commit 99f02aa796
2 changed files with 3 additions and 3 deletions

View File

@@ -58,7 +58,7 @@ const handleReboot = async (newIp: string | null = null): Promise<void> => {
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<void> => {
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);

View File

@@ -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;