mirror of
https://github.com/scottchiefbaker/ESP-WebOTA.git
synced 2024-08-30 18:12:33 +00:00
Add FlashHelper FPSTR() to HTML string to fix a crash.
This commit is contained in:
parent
c98c830c24
commit
99bf849d09
@ -155,10 +155,10 @@ int WebOTA::add_http_routes(WebServer *server, const char *path) {
|
||||
if (this->custom_html != NULL) {
|
||||
html += this->custom_html;
|
||||
} else {
|
||||
html += ota_version_html;
|
||||
html += FPSTR(ota_version_html);
|
||||
}
|
||||
|
||||
html += ota_upload_form;
|
||||
html += FPSTR(ota_upload_form);
|
||||
server->send_P(200, "text/html", html.c_str());
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user