mirror of
https://github.com/alexhopeoconnor/WiFiManager.git
synced 2026-10-13 14:51:21 +10:00
fixes #1169 for now
This commit is contained in:
+1
-1
@@ -3508,7 +3508,7 @@ void WiFiManager::handleUpdateDone() {
|
||||
DEBUG_WM(F("[OTA] update failed"));
|
||||
}
|
||||
else {
|
||||
page += FPSTR(HTTP_UPDATE_OK);
|
||||
page += FPSTR(HTTP_UPDATE_SUCCESS);
|
||||
DEBUG_WM(F("[OTA] update ok"));
|
||||
}
|
||||
page += FPSTR(HTTP_END);
|
||||
|
||||
+1
-1
@@ -134,7 +134,7 @@ const char HTTP_HELP[] PROGMEM = "";
|
||||
|
||||
const char HTTP_UPDATE[] PROGMEM = "Upload New Firmware<br/><form method='POST' action='u' enctype='multipart/form-data' onchange=\"(function(el){document.getElementById('uploadbin').style.display = el.value=='' ? 'none' : 'initial';})(this)\"><input type='file' name='update' accept='.bin,application/octet-stream'><button id='uploadbin' type='submit' class='h D'>Update</button></form><small><a href='http://192.168.4.1/update' target='_blank'>* May not function inside captive portal, Open in browser http://192.168.4.1</a><small>";
|
||||
const char HTTP_UPDATE_FAIL[] PROGMEM = "<div class='msg D'><strong>Update Failed!</strong><Br/>Reboot device and try again</div>";
|
||||
const char HTTP_UPDATE_OK[] PROGMEM = "<div class='msg P'><strong>Update OK!</strong> Device Rebooting now...</div>";
|
||||
const char HTTP_UPDATE_SUCCESS[] PROGMEM = "<div class='msg P'><strong>Update OK!</strong> Device Rebooting now...</div>";
|
||||
|
||||
#ifdef WM_JSTEST
|
||||
const char HTTP_JS[] PROGMEM =
|
||||
|
||||
Reference in New Issue
Block a user