mirror of https://github.com/arendst/Tasmota.git
Fix Compilation for ESP32 w/scripts enabled
This commit is contained in:
parent
692200aea8
commit
3432c6841d
|
@ -10321,7 +10321,7 @@ bool Xdrv10(uint8_t function)
|
|||
Webserver->on("/ta",HTTP_POST, HandleScriptTextareaConfiguration);
|
||||
Webserver->on("/exs", HTTP_POST,[]() { Webserver->sendHeader("Location","/exs");Webserver->send(303);}, script_upload_start);
|
||||
Webserver->on("/exs", HTTP_GET, ScriptExecuteUploadSuccess);
|
||||
#ifdef USE_UFILESYS
|
||||
#if defined(USE_UFILESYS) && defined(USE_SCRIPT_WEB_DISPLAY)
|
||||
Webserver->on(UriGlob("/ufs/*"), HTTP_GET, ScriptServeFile);
|
||||
#endif
|
||||
#endif // USE_WEBSERVER
|
||||
|
|
Loading…
Reference in New Issue