Skip to content
This repository has been archived by the owner on Nov 18, 2020. It is now read-only.

Commit

Permalink
Added potential work around for webserver not loading in 2.62 and above
Browse files Browse the repository at this point in the history
  • Loading branch information
thebigpotatoe committed Dec 8, 2019
1 parent 143042d commit c482d6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Super_Simple_RGB_WiFi_Lamp/Web_Server.ino
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ void servePage() {
restServer.sendHeader("Pragma", "no-cache");
restServer.sendHeader("Expires", "-1");
restServer.setContentLength(CONTENT_LENGTH_UNKNOWN);
restServer.send(200, "text/html", "");
restServer.send(200, "text/html", String(""));
restServer.sendContent_P(websiteSource);
restServer.sendContent("");
restServer.client().stop();
Expand Down

0 comments on commit c482d6c

Please sign in to comment.