Compare commits

..

2 Commits

Author SHA1 Message Date
Marc Brooks 5f617079ab
Merge ca1c36b84e into 2444817455 2025-10-21 03:24:58 +00:00
Marc Brooks ca1c36b84e
Revamp the OTA and reboot processing
OTA supplies port-reboot action to handle the rebooting device.
Make sure we force-reload the page after redirection.
Move reboot logic into hw.go and make it set the willReboot message with parameters if provided.
Improve logging consistency.
2025-10-20 22:24:46 -05:00
1 changed files with 1 additions and 1 deletions

View File

@ -476,7 +476,7 @@ export function RebootingOverlay({ show, postRebootAction }: RebootingOverlayPro
// Device is available, redirect to the specified URL
console.log('Device is available, redirecting to:', postRebootAction.redirectUrl);
window.location.href = postRebootAction.redirectUrl;
window.location.reload();
window.location.reload(true)
}
} catch (err) {
// Ignore errors - they're expected while device is rebooting