Update src/WebCfgServer.cpp
Co-authored-by: David Girón <contacto@duhowpi.net>
This commit is contained in:
@@ -72,7 +72,7 @@ void WebCfgServer::initialize()
|
||||
}
|
||||
String response = "";
|
||||
buildStatusHtml(response);
|
||||
_server.send(200, "text/html", response);
|
||||
_server.send(200, "application/json", response);
|
||||
});
|
||||
_server.on("/favicon.ico", HTTP_GET, [&]() {
|
||||
if (_hasCredentials && !_server.authenticate(_credUser, _credPassword)) {
|
||||
|
||||
Reference in New Issue
Block a user