Skip to content

Commit

Permalink
fix compile
Browse files Browse the repository at this point in the history
  • Loading branch information
KipK committed Feb 27, 2023
1 parent 4242971 commit 85cd826
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/web_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1210,7 +1210,7 @@ void handleNotFound(MongooseHttpServerRequest *request)
DBUG("NOT_FOUND: ");
dumpRequest(request);

if((net.isWifiModeAp()) {
if(net.isWifiModeAp()) {
// Redirect to the home page in AP mode (for the captive portal)
MongooseHttpServerResponseStream *response = request->beginResponseStream();
response->setContentType(CONTENT_TYPE_HTML);
Expand Down

0 comments on commit 85cd826

Please sign in to comment.