From 2267f34fb541301d56548f472df665c299e7a556 Mon Sep 17 00:00:00 2001 From: tablatronix Date: Thu, 8 Nov 2018 13:35:33 -0600 Subject: [PATCH] fix wrong urls --- WiFiManager.cpp | 7 +++++++ strings_en.h | 6 +++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/WiFiManager.cpp b/WiFiManager.cpp index 260d021..a62dfcb 100644 --- a/WiFiManager.cpp +++ b/WiFiManager.cpp @@ -2716,6 +2716,13 @@ void WiFiManager::handleUpdate() { } void WiFiManager::handleUpdating(){ + // @todo + // cannot upload files in captive portal, file select is not allowed, show message with link or hide + // cannot upload if softreset after upload, maybe check for hard reset at least for dev, ERROR[11]: Invalid bootstrapping state, reset ESP8266 before updating + // add upload status to webpage somehow + // abort upload if error detected ? + // supress cp timeout on upload + // add progress handler for debugging if (captivePortal()) return; // If captive portal redirect instead of displaying the page // handler for the file upload, get's the sketch bytes, and writes // them through the Update object diff --git a/strings_en.h b/strings_en.h index 92cf235..f34664a 100644 --- a/strings_en.h +++ b/strings_en.h @@ -113,7 +113,7 @@ const char HTTP_HELP[] PROGMEM = "" "

More information about WiFiManager at https://github.com/tzapu/WiFiManager."; -const char HTTP_UPDATE[] PROGMEM = "

"; +const char HTTP_UPDATE[] PROGMEM = "
"; const char HTTP_UPDATE_FAIL[] PROGMEM = "Update Failed!"; const char HTTP_UPDATE_OK[] PROGMEM = "Update OK! Rebooting now..."; @@ -243,8 +243,8 @@ const char R_exit[] PROGMEM = "/exit"; const char R_close[] PROGMEM = "/close"; const char R_erase[] PROGMEM = "/erase"; const char R_status[] PROGMEM = "/status"; -const char R_update[] PROGMEM = "/u"; -const char R_updatedone[] PROGMEM = "/update"; +const char R_update[] PROGMEM = "/update"; +const char R_updatedone[] PROGMEM = "/u"; //Strings