diff --git a/data/index.html b/data/index.html index af031f2..d1ce750 100644 --- a/data/index.html +++ b/data/index.html @@ -12,7 +12,6 @@

wbec

-

Connection %STATE%

diff --git a/src/webServer.cpp b/src/webServer.cpp index 88a5583..4f2548f 100644 --- a/src/webServer.cpp +++ b/src/webServer.cpp @@ -96,7 +96,7 @@ void webServer_setup() { }); server.on("/", HTTP_GET, [](AsyncWebServerRequest *request) { - request->send(LittleFS, F("/web.html"), String(), false, processor); + request->send(LittleFS, F("/web.html"), F("text/html")); }); server.on("/cfg", HTTP_GET, [](AsyncWebServerRequest *request){