Compare commits

..

2 Commits

Author SHA1 Message Date
Marc Brooks f34d97eedf
Merge f735f57c3d into 2444817455 2025-10-23 04:48:59 +00:00
Marc Brooks f735f57c3d
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-22 23:48:45 -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 // Device is available, redirect to the specified URL
console.log('Device is available, redirecting to:', postRebootAction.redirectUrl); console.log('Device is available, redirecting to:', postRebootAction.redirectUrl);
window.location.href = postRebootAction.redirectUrl; window.location.href = postRebootAction.redirectUrl;
window.location.reload(true) window.location.reload();
} }
} catch (err) { } catch (err) {
// Ignore errors - they're expected while device is rebooting // Ignore errors - they're expected while device is rebooting