Skip to content

Commit

Permalink
Update link to docs from webserver when file not found (#3175)
Browse files Browse the repository at this point in the history
  • Loading branch information
tekstrand authored Feb 8, 2024
1 parent 4c55d5d commit 990ee5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mesh/http/ContentHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ void handleStatic(HTTPRequest *req, HTTPResponse *res)
if (!file.available()) {
LOG_WARN("File not available - %s\n", filenameGzip.c_str());
res->println("Web server is running.<br><br>The content you are looking for can't be found. Please see: <a "
"href=https://meshtastic.org/docs/getting-started/faq#wifi--web-browser>FAQ</a>.<br><br><a "
"href=https://meshtastic.org/docs/software/web-client/>FAQ</a>.<br><br><a "
"href=/admin>admin</a>");

return;
Expand Down Expand Up @@ -854,4 +854,4 @@ void handleScanNetworks(HTTPRequest *req, HTTPResponse *res)
JSONValue *value = new JSONValue(jsonObjOuter);
res->print(value->Stringify().c_str());
delete value;
}
}

0 comments on commit 990ee5d

Please sign in to comment.