ESP8266
server.serveStatic("/index.html", LittleFS, "/index.html");
It doesn't work in AP Captive Portal mode after a file upload without a reboot.
server.serveStatic("/index.html", LittleFS, "/index.html").setCacheControl("no-store").setTemplateProcessor(asyncProcessor).;
.server.serveStatic("/index.html", LittleFS, "/index.html").setCacheControl("no-store").setAuthentication("user","pass");
3x ram usage, not modify parameters.
ESP8266
server.serveStatic("/index.html", LittleFS, "/index.html");
It doesn't work in AP Captive Portal mode after a file upload without a reboot.
server.serveStatic("/index.html", LittleFS, "/index.html").setCacheControl("no-store").setTemplateProcessor(asyncProcessor).;
.server.serveStatic("/index.html", LittleFS, "/index.html").setCacheControl("no-store").setAuthentication("user","pass");
3x ram usage, not modify parameters.