Skip to content

Commit 535d2d3

Browse files
author
Spacehuhn
committed
Fixed 404 errors when using littlefs
1 parent 4bd56ff commit 535d2d3

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

esp8266_deauther/wifi.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -409,11 +409,6 @@ namespace wifi {
409409
// ================================================================
410410
#endif /* ifdef USE_PROGMEM_WEB_FILES */
411411

412-
// aggressively caching static assets
413-
if (settings::getWebSettings().use_spiffs) {
414-
server.serveStatic("/", LittleFS, String(ap_settings.path).c_str(), "max-age=86400");
415-
}
416-
417412
server.on("/run", HTTP_GET, []() {
418413
server.send(200, str(W_TXT), str(W_OK).c_str());
419414
String input = server.arg("cmd");

0 commit comments

Comments
 (0)