fix: кнопка открытия через POST + redirect, обновление страницы не срабатывает
This commit is contained in:
@@ -130,6 +130,9 @@ input[type=text],input[type=password]{width:100%;box-sizing:border-box;padding:9
|
|||||||
html += currentIP();
|
html += currentIP();
|
||||||
html += " · v" + String(FW_VERSION) + "</div>";
|
html += " · 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)
|
||||||
|
|||||||
Reference in New Issue
Block a user