diff --git a/wled00/file.cpp b/wled00/file.cpp index 5affc666..4e23d5ca 100644 --- a/wled00/file.cpp +++ b/wled00/file.cpp @@ -512,8 +512,8 @@ bool handleFileRead(AsyncWebServerRequest* request, String path){ } #endif - if(WLED_FS.exists(path)) { - request->send(WLED_FS, path, contentType); + if(WLED_FS.exists(path) || WLED_FS.exists(path + ".gz")) { + request->send(WLED_FS, path, String(), request->hasArg(F("download"))); return true; } //USER_PRINTLN("WS FileRead failed: " + path + " (" + contentType + ")");