fix javascript messages

This commit is contained in:
CaCO3
2022-09-25 15:31:24 +02:00
parent f9939023c6
commit d0b78e7c73

View File

@@ -457,11 +457,11 @@ esp_err_t handler_ota_update(httpd_req_t *req)
gpio_handler_deinit(); gpio_handler_deinit();
if (ota_update_task(fn)) if (ota_update_task(fn))
{ {
resp_str = "Firmware Update Successfull!<br><br>You can restart now."; resp_str = "Firmware Update Successfull! You can restart now.";
} }
else else
{ {
resp_str = "Error during Firmware Update!!!<br><br>Please check console output."; resp_str = "Error during Firmware Update!!! Please check console output.";
} }
httpd_resp_send(req, resp_str, strlen(resp_str)); httpd_resp_send(req, resp_str, strlen(resp_str));