Skip to content

Commit

Permalink
fix bad progmem access introduced in tzapu#608
Browse files Browse the repository at this point in the history
  • Loading branch information
liebman committed Jul 8, 2018
1 parent b9f6b47 commit aeba547
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), 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 aeba547

Please # to comment.