Skip to content

Commit

Permalink
Merge pull request #647 from liebman/fix_bad_progmem_access
Browse files Browse the repository at this point in the history
fix bad progmem access
  • Loading branch information
tablatronix authored Jul 8, 2018
2 parents b9f6b47 + e235a45 commit f65972a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WiFiManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1186,7 +1186,7 @@ void WiFiManager::handleWifiSave() {
page += FPSTR(HTTP_END);

server->sendHeader(FPSTR(HTTP_HEAD_CL), String(page.length()));
server->sendHeader(HTTP_HEAD_CORS, HTTP_HEAD_CORS_ALLOW_ALL);
server->sendHeader(FPSTR(HTTP_HEAD_CORS), FPSTR(HTTP_HEAD_CORS_ALLOW_ALL));
server->send(200, FPSTR(HTTP_HEAD_CT), page);

DEBUG_WM(DEBUG_DEV,F("Sent wifi save page"));
Expand Down

0 comments on commit f65972a

Please # to comment.