From 8f755eb60ceba8031501f2087f076c3ccb0981b8 Mon Sep 17 00:00:00 2001 From: VietDzung Date: Sat, 28 Oct 2023 00:48:06 +0700 Subject: [PATCH] Fix web event update wifi ssid. --- main/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main/main.cpp b/main/main.cpp index e3c38a3..094fbb3 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -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); } }