mirror of
https://github.com/luc-github/ESP3D.git
synced 2026-03-06 16:06:48 +01:00
2rd rewrite of upload management error based on 3.0
Add file size before upload for SPIFFS and WebUpdate new embedded page based on 3.0 - display fw version - menu link link to wiki / github - auto detection of index.html.gz when uploaded - websocket to limit to one instance - build batch to generate page and fw file fix for Apple captive portal blocking websocket per @Nathan-ma suggestion Fix update partition size in [ESP420] for ESP32 change versio to 36
This commit is contained in:
@@ -1907,6 +1907,14 @@ bool COMMAND::execute_command (int cmd, String cmd_params, tpipe output, level_a
|
||||
#else
|
||||
ESPCOM::print (F ("Sync:"), output, espresponse);
|
||||
String sp = String(wifi_config.iweb_port+1);
|
||||
sp += ":";
|
||||
if (WiFi.getMode() == WIFI_STA) {
|
||||
sp += WiFi.localIP().toString();
|
||||
} else if ((WiFi.getMode() == WIFI_AP) || (WiFi.getMode() == WIFI_AP_STA)) {
|
||||
sp += WiFi.softAPIP().toString();
|
||||
} else {
|
||||
sp += "0.0.0.0";
|
||||
}
|
||||
ESPCOM::print (sp.c_str(), output, espresponse);
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user