mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-08 12:37:01 +03:00
Bug fix: rebooting to squeezelite now works
This commit is contained in:
@@ -480,7 +480,7 @@ void http_server_netconn_serve(struct netconn *conn) {
|
||||
netconn_write(conn, http_ok_json_no_cache_hdr, sizeof(http_ok_json_no_cache_hdr) - 1, NETCONN_NOCOPY); /* 200 ok */
|
||||
}
|
||||
else if(strstr(line, "POST /reboot.json ")){
|
||||
esp_restart();
|
||||
guided_restart_ota();
|
||||
}
|
||||
else if(strstr(line, "POST /recovery.json ")){
|
||||
guided_factory();
|
||||
|
||||
Reference in New Issue
Block a user