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:
@@ -58,7 +58,7 @@ const handleReboot = async (newIp: string | null = null): Promise<void> => {
|
|||||||
if (progress >= 100) {
|
if (progress >= 100) {
|
||||||
clearInterval(interval);
|
clearInterval(interval);
|
||||||
}
|
}
|
||||||
}, 300);
|
}, 1200); // <-- Statt 300ms jetzt 1200ms pro +1%
|
||||||
} else {
|
} else {
|
||||||
console.error("Progress-Bar-Element nicht gefunden.");
|
console.error("Progress-Bar-Element nicht gefunden.");
|
||||||
}
|
}
|
||||||
@@ -75,7 +75,7 @@ const handleReboot = async (newIp: string | null = null): Promise<void> => {
|
|||||||
|
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
window.location.href = `${baseRedirectURL}${redirectPath}`;
|
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`;
|
const url = `${window.location.origin}/CPL?wait2reboot.html&BOOT=1`;
|
||||||
console.log(url);
|
console.log(url);
|
||||||
|
|||||||
@@ -6,5 +6,5 @@
|
|||||||
2: Patch oder Hotfix (Bugfixes oder kleine Änderungen).
|
2: Patch oder Hotfix (Bugfixes oder kleine Änderungen).
|
||||||
|
|
||||||
*/
|
*/
|
||||||
const webVersion = "1.6.297";
|
const webVersion = "1.6.298";
|
||||||
export default webVersion;
|
export default webVersion;
|
||||||
|
|||||||
Reference in New Issue
Block a user