| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent a55066b commit 7497f34
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -307,7 +307,7 @@ void handleSPIFFS(HTTPRequest * req, HTTPResponse * res) { | |||
| 307 | 307 | ||
| 308 | 308 | // Check if the file exists | |
| 309 | 309 | if (!SPIFFS.exists(filename.c_str())) { | |
| 310 | - // Send "405 Method not allowed" as response | ||
| 310 | + // Send "404 Not Found" as response, as the file doesn't seem to exist | ||
| 311 | 311 | res->setStatusCode(404); | |
| 312 | 312 | res->setStatusText("Not found"); | |
| 313 | 313 | res->println("404 Not Found"); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments