mirror of
https://github.com/SpacehuhnTech/esp8266_deauther.git
synced 2025-12-05 14:19:59 +01:00
Fixed 404 errors when using littlefs
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user