fix: кнопка открытия через POST + redirect, обновление страницы не срабатывает

This commit is contained in:
Aleksei
2026-06-17 08:13:34 +00:00
parent efa3d24b0d
commit 3a219c5505
+3
View File
@@ -130,6 +130,9 @@ input[type=text],input[type=password]{width:100%;box-sizing:border-box;padding:9
html += currentIP(); html += currentIP();
html += " &nbsp;·&nbsp; v" + String(FW_VERSION) + "</div>"; html += " &nbsp;·&nbsp; v" + String(FW_VERSION) + "</div>";
String ok = server.hasArg("ok") ? server.arg("ok") : "";
if (ok == "1") msg = "✅ Команда выполнена";
if (msg.startsWith("")) if (msg.startsWith(""))
html += "<div class='err'>" + msg + "</div>"; html += "<div class='err'>" + msg + "</div>";
else if (msg.length() > 0) else if (msg.length() > 0)