diff --git a/src/ESPAsync_WiFiManager_Lite.h b/src/ESPAsync_WiFiManager_Lite.h index aaa4d9e..ff57cd0 100644 --- a/src/ESPAsync_WiFiManager_Lite.h +++ b/src/ESPAsync_WiFiManager_Lite.h @@ -427,7 +427,7 @@ extern ESP_WM_LITE_Configuration defaultConfig; // -- HTML page fragments -const char ESP_WM_LITE_HTML_HEAD_START[] /*PROGMEM*/ = "ESP_ASYNC_WM_LITE"; +const char ESP_WM_LITE_HTML_HEAD_START[] /*PROGMEM*/ = "ESP_ASYNC_WM_LITE"; const char ESP_WM_LITE_HTML_HEAD_STYLE[] /*PROGMEM*/ = ""; @@ -1393,7 +1393,7 @@ class ESPAsync_WiFiManager_Lite #endif #if USING_CORS_FEATURE - const char* _CORS_Header = WM_HTTP_CORS_ALLOW_ALL; //"*"; + const char* _CORS_Header = WM_HTTP_CORS_ALLOW_ALL; // "*"; #endif ////////////////////////////////////// @@ -2656,6 +2656,7 @@ class ESPAsync_WiFiManager_Lite #endif #if SCAN_WIFI_NETWORKS + ESP_WML_LOGDEBUG1(WiFiNetworksFound, F(" SSIDs found, generating HTML now")); // Replace HTML with , based on WiFi network scan in startConfigurationMode() @@ -2683,9 +2684,7 @@ class ESPAsync_WiFiManager_Lite ESP_WML_LOGDEBUG1(F("pitem:"), pitem); pitem.replace("[[input_id1]]", "" + String(ESP_WM_LITE_DATALIST_START) + "'SSIDs'>" + ListOfSSIDs + ESP_WM_LITE_DATALIST_END); - ESP_WML_LOGDEBUG1(F("pitem:"), pitem); - #else pitem.replace("[[input_id]]", "" + ListOfSSIDs + ESP_WM_LITE_SELECT_END);