diff --git a/WebCfgServer.cpp b/WebCfgServer.cpp index 73bb2e7..e186297 100644 --- a/WebCfgServer.cpp +++ b/WebCfgServer.cpp @@ -115,7 +115,7 @@ void WebCfgServer::initialize() _network->reconfigureDevice(); } }); - _server.on("/method=get", [&]() { + _server.on("/savecfg", [&]() { if (_hasCredentials && !_server.authenticate(_credUser, _credPassword)) { return _server.requestAuthentication(); } @@ -544,7 +544,7 @@ void WebCfgServer::buildCredHtml(String &response) { buildHtmlHeader(response); - response.concat("