Skip to content

Commit

Permalink
Merge pull request #171 from ggrandou/patch_wifi_portal
Browse files Browse the repository at this point in the history
use common html style for Captive portal
  • Loading branch information
gysmo38 authored Sep 9, 2022
2 parents f5cb695 + 426c636 commit e41f499
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mitsubishi2mqtt/mitsubishi2mqtt.ino
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@ void handleNotFound() {
initSetupContent.replace("_TXT_SAVE_",FPSTR(txt_save));
initSetupContent.replace("_TXT_REBOOT_",FPSTR(txt_reboot));

server.send(200, "text/html", initSetupContent);
sendWrappedHTML(initSetupContent);
}
else {
server.sendHeader("Location", "/");
Expand Down

0 comments on commit e41f499

Please sign in to comment.