From 7df08c212024bf17b291348c8a76d96a355c0279 Mon Sep 17 00:00:00 2001 From: mrbubble62 Date: Sun, 18 Dec 2022 12:37:05 -0500 Subject: [PATCH] Fixed typo when WLED_ENABLE_FS_EDITOR disabled --- wled00/wled_server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wled00/wled_server.cpp b/wled00/wled_server.cpp index 61010484..049a4990 100644 --- a/wled00/wled_server.cpp +++ b/wled00/wled_server.cpp @@ -71,7 +71,7 @@ void createEditHandler(bool enable) { editHandler = &server.addHandler(new SPIFFSEditor("","",WLED_FS));//http_username,http_password)); #endif #else - editHandler = server.on("/edit", HTTP_GET, [](AsyncWebServerRequest *request){ + editHandler = &server.on("/edit", HTTP_GET, [](AsyncWebServerRequest *request){ serveMessage(request, 501, "Not implemented", F("The FS editor is disabled in this build."), 254); }); #endif