remove fake endpoint

This commit is contained in:
Matthew Frost 2023-06-13 21:11:44 +02:00
parent 6f74811f39
commit 4d69b84bf2

View file

@ -29,15 +29,6 @@ class MainWebServerClass{
_password = "";
}
_server->on("/test/identity", HTTP_GET, [&](AsyncWebServerRequest *request){
if(_authRequired){
if(!request->authenticate(_username.c_str(), _password.c_str())){
return request->requestAuthentication();
}
}
request->send(200, "application/json");
});
_server->on("/", HTTP_GET, [&](AsyncWebServerRequest *request){
if(_authRequired){
if(!request->authenticate(_username.c_str(), _password.c_str())){