From 535d2d3f95fa6f2e7f32fc34d1f03b01d14769dc Mon Sep 17 00:00:00 2001 From: Spacehuhn Date: Sat, 23 Jan 2021 12:46:59 +0100 Subject: [PATCH] Fixed 404 errors when using littlefs --- esp8266_deauther/wifi.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/esp8266_deauther/wifi.cpp b/esp8266_deauther/wifi.cpp index e1a5d11..91d3282 100644 --- a/esp8266_deauther/wifi.cpp +++ b/esp8266_deauther/wifi.cpp @@ -409,11 +409,6 @@ namespace wifi { // ================================================================ #endif /* ifdef USE_PROGMEM_WEB_FILES */ - // aggressively caching static assets - if (settings::getWebSettings().use_spiffs) { - server.serveStatic("/", LittleFS, String(ap_settings.path).c_str(), "max-age=86400"); - } - server.on("/run", HTTP_GET, []() { server.send(200, str(W_TXT), str(W_OK).c_str()); String input = server.arg("cmd");