diff --git a/src/activities/network/server/CrossPointWebServer.cpp b/src/activities/network/server/CrossPointWebServer.cpp index 61a8813..90ec915 100644 --- a/src/activities/network/server/CrossPointWebServer.cpp +++ b/src/activities/network/server/CrossPointWebServer.cpp @@ -513,13 +513,6 @@ void CrossPointWebServer::handleUpload() { Serial.printf("[%lu] [WEB] [UPLOAD] START: %s to path: %s\n", millis(), uploadFileName.c_str(), uploadPath.c_str()); Serial.printf("[%lu] [WEB] [UPLOAD] Free heap: %d bytes\n", millis(), ESP.getFreeHeap()); - // Validate file extension - if (!isEpubFile(uploadFileName)) { - uploadError = "Only .epub files are allowed"; - Serial.printf("[%lu] [WEB] [UPLOAD] REJECTED - not an epub file\n", millis()); - return; - } - // Create file path String filePath = uploadPath; if (!filePath.endsWith("/")) filePath += "/"; diff --git a/src/html/FilesPageFooter.html b/src/html/FilesPageFooter.html index 102430a..961753a 100644 --- a/src/html/FilesPageFooter.html +++ b/src/html/FilesPageFooter.html @@ -3,15 +3,15 @@ CrossPoint E-Reader • Open Source
- + - + - +