Skip to content

Commit d197971

Browse files
committed
Fix reboot (#13)
1 parent 9449c65 commit d197971

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/EEWebServer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ void EEWebServerClass::init(String updatePassword)
6666
on("/edit", HTTP_DELETE, _handle_file_delete);
6767
on("/edit", HTTP_POST, [&]() { send(200, "text/plain", ""); }, _handle_file_upload);
6868
on("/list", HTTP_GET, _handle_file_list);
69-
on("reboot", HTTP_GET, [&]()
69+
on("/reboot", HTTP_GET, [&]()
7070
{
7171
send(200, "text/plain", "Rebooting...");
7272
delay(200);

0 commit comments

Comments
 (0)