From 4d69b84bf271869aedac4ea5bd7bffbb04d9915e Mon Sep 17 00:00:00 2001 From: Matthew Frost Date: Tue, 13 Jun 2023 21:11:44 +0200 Subject: [PATCH] remove fake endpoint --- include/mainwebserver.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/include/mainwebserver.h b/include/mainwebserver.h index a8177ca..2e4b91b 100644 --- a/include/mainwebserver.h +++ b/include/mainwebserver.h @@ -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())){