mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-13 23:16:55 +03:00
Using named cookies to get a correct redirect (#1492)
* Using named cookies
* Prevent from deleting wlan.ini file
* Missed "
* Revert "Prevent from deleting wlan.ini file"
This reverts commit 901b6998b6.
Co-authored-by: Pär Hedberg <par.hedberg@nordicmedtest.se>
This commit is contained in:
@@ -210,7 +210,7 @@ function extract() {
|
||||
document.getElementById("status").innerText = "Status: Update completed!";
|
||||
document.getElementById("doUpdate").disabled = true;
|
||||
document.getElementById("newfile").disabled = false;
|
||||
document.cookie = "overview.html"; // Make sure after the reboot we go to the overview page
|
||||
document.cookie = "page=overview.html"; // Make sure after the reboot we go to the overview page
|
||||
|
||||
if (xhttp.responseText.startsWith("reboot"))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user