mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-23 10:46:31 +00:00
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("/ta",HTTP_POST, HandleScriptTextareaConfiguration);
|
||||||
Webserver->on("/exs", HTTP_POST,[]() { Webserver->sendHeader("Location","/exs");Webserver->send(303);}, script_upload_start);
|
Webserver->on("/exs", HTTP_POST,[]() { Webserver->sendHeader("Location","/exs");Webserver->send(303);}, script_upload_start);
|
||||||
Webserver->on("/exs", HTTP_GET, ScriptExecuteUploadSuccess);
|
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);
|
Webserver->on(UriGlob("/ufs/*"), HTTP_GET, ScriptServeFile);
|
||||||
#endif
|
#endif
|
||||||
#endif // USE_WEBSERVER
|
#endif // USE_WEBSERVER
|
||||||
|
Loading…
x
Reference in New Issue
Block a user