Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
caco3 committed Feb 16, 2024
1 parent 65b033f commit 741fe57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sd-card/html/ota_page.html
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ <h3><span id="status">Status: Idle</span></h3>
if (action_runtime > 10) { // After 10 seconds, start to check if we are up again
/* Check if the device is up again and forward to index page if so */
fetch('reboot_page.html?v=$COMMIT_HASH&' + Math.random(), {mode: 'no-cors'}).then(
r=>{parent.location.href=('index.html?v=$COMMIT_HASH');}
r=>{parent.location.href=('index.html?v=' + Math.random());}
)
}

Expand Down

0 comments on commit 741fe57

Please sign in to comment.