Fixed OTA

This commit is contained in:
2025-11-05 20:20:24 +01:00
parent 123f75dd89
commit c432f47dff
2 changed files with 2 additions and 1 deletions

View File

@@ -71,6 +71,6 @@ void setup_api_endpoints(){
}; };
xTaskCreate(run_ota_update_task, "RunOTAUpdate", 1024 * 8, (void *)&args, 1, NULL); xTaskCreate(run_ota_update_task, "RunOTAUpdate", 1024 * 8, (void *)&args, 1, NULL);
request->send(SPIFFS, "/update_progress.html", "text/html", false, processor); request->send(LittleFS, "/update_progress.html", "text/html", false, processor);
}); });
} }

View File

@@ -1,3 +1,4 @@
#include <ESPAsyncWebServer.h> #include <ESPAsyncWebServer.h>
#include <LittleFS.h>
void setup_api_endpoints(); void setup_api_endpoints();