Skip to content

Commit

Permalink
Fix: Return 404 (and nothing else) if file not found
Browse files Browse the repository at this point in the history
  • Loading branch information
tbnobody committed Apr 24, 2024
1 parent 21cadab commit f8cc171
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/WebApi_config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ void WebApiConfigClass::onConfigGet(AsyncWebServerRequest* request)
requestFile = name;
} else {
request->send(404);
return;
}
}

Expand Down

0 comments on commit f8cc171

Please sign in to comment.