| 610 | } |
| 611 | |
| 612 | esp_err_t rebootHandler(httpd_req_t *req) { |
| 613 | if (checkUserWebAuth(req)) { |
| 614 | shouldReboot = true; |
| 615 | sendText(req, "text/html", "Rebooting"); |
| 616 | } |
| 617 | return ESP_OK; |
| 618 | } |
| 619 | |
| 620 | esp_err_t listFilesHandler(httpd_req_t *req) { |
| 621 | if (!checkUserWebAuth(req)) return ESP_OK; |
nothing calls this directly
no test coverage detected