8000 Merge branch 'master' of github.com:fhessel/esp32_https_server · SysAdmin74/esp32_https_server@bbf505e · GitHub
[go: up one dir, main page]

Skip to content
10000

Commit bbf505e

Browse files
committed
Merge branch 'master' of github.com:fhessel/esp32_https_server
2 parents dfaacb1 + 8472cc0 commit bbf505e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/REST-API/REST-API.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ void handleSPIFFS(HTTPRequest * req, HTTPResponse * res) {
307307

308308
// Check if the file exists
309309
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
311311
res->setStatusCode(404);
312312
res->setStatusText("Not found");
313313
res->println("404 Not Found");

0 commit comments

Comments
 (0)
0