This commit is contained in:
2025-07-07 21:28:20 +02:00
parent 129fa8e624
commit 67ded19c93
3 changed files with 5 additions and 4 deletions

View File

@@ -766,8 +766,6 @@ void setup()
server.on("/", HTTP_GET, [](AsyncWebServerRequest *request)
{
webrequestActive = true;
deactivateRFID();
activateSD();
String htmlPath = "/system/index.html";
if (SD.exists(htmlPath)) {
AsyncWebServerResponse *response = request->beginResponse(SD, htmlPath, "text/html", false, processor);
@@ -784,8 +782,6 @@ void setup()
server.on("/style.css", HTTP_GET, [](AsyncWebServerRequest *request)
{
webrequestActive = true;
deactivateRFID();
activateSD();
String cssPath = "/system/style.css";
if (SD.exists(cssPath)) {
request->send(SD, cssPath, "text/css");