From e82752c7776172ef5b9e9724c465996817f4cdd4 Mon Sep 17 00:00:00 2001 From: Jm Casler Date: Fri, 11 Dec 2020 22:54:48 -0800 Subject: [PATCH] #552 - Updated the 404 handler for / to refer to instructions for how to fix the problem. #552 - Updated the 404 handler for / to refer to instructions for how to fix the problem. --- src/meshwifi/meshhttp.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/meshwifi/meshhttp.cpp b/src/meshwifi/meshhttp.cpp index 4f4170cb0..2ac81b1c9 100644 --- a/src/meshwifi/meshhttp.cpp +++ b/src/meshwifi/meshhttp.cpp @@ -858,6 +858,9 @@ void handleRoot(HTTPRequest *req, HTTPResponse *res) res->setStatusText("Not found"); res->println("404 Not Found"); res->printf("

File not found: %s

\n", filename.c_str()); + res->printf("

\n"); + res->printf("

You have gotten this error because the filesystem for the web server has not been loaded.

\n"); + res->printf("

Please review the 'Common Problems' section of the web interface documentation.

\n"); return; }