Skip to content

Commit

Permalink
Fix web event update wifi ssid.
Browse files Browse the repository at this point in the history
  • Loading branch information
dzungpv committed Oct 27, 2023
1 parent 3e0fb6f commit 8f755eb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1302,7 +1302,8 @@ void handleWifi(AsyncWebServerRequest *request)
wifiPage.replace(F("_SSID_"), str_ap_ssid);
wifiPage.replace(F("_PSK_"), str_ap_pwd);
wifiPage.replace(F("_OTA_PWD_"), str_ota_pwd);
sendWrappedHTML(request, wifiPage);
String fwCheckEvents = FPSTR(fw_check_script_events);
sendWrappedHTML(request, fwCheckEvents + wifiPage);
}
}

Expand Down

0 comments on commit 8f755eb

Please sign in to comment.