Skip to content

Commit

Permalink
Fix reboot (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
srwi committed May 26, 2024
1 parent 9449c65 commit d197971
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EEWebServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d197971

Please sign in to comment.