From d1979715c654505c768662d8bad904d6f482b94c Mon Sep 17 00:00:00 2001 From: Stephan Rumswinkel <17520641+srwi@users.noreply.github.com> Date: Sat, 25 May 2024 21:17:25 +0200 Subject: [PATCH] Fix reboot (#13) --- src/EEWebServer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/EEWebServer.cpp b/src/EEWebServer.cpp index eedc937..1e1f78f 100644 --- a/src/EEWebServer.cpp +++ b/src/EEWebServer.cpp @@ -66,7 +66,7 @@ void EEWebServerClass::init(String updatePassword) on("/edit", HTTP_DELETE, _handle_file_delete); on("/edit", HTTP_POST, [&]() { send(200, "text/plain", ""); }, _handle_file_upload); on("/list", HTTP_GET, _handle_file_list); - on("reboot", HTTP_GET, [&]() + on("/reboot", HTTP_GET, [&]() { send(200, "text/plain", "Rebooting..."); delay(200);