Add ssidAP as header name

This commit is contained in:
Daniel 2024-05-19 21:57:31 +03:00
parent 7193938dcd
commit 1225d76352
2 changed files with 4 additions and 4 deletions

View file

@ -358,8 +358,9 @@ void init_ElegantOTA() {
}
String processor(const String& var) {
if (var == "ABC") {
if (var == "X") {
String content = "";
content += "<h2>" + String(ssidAP) + "</h2>"; // ssidAP name is used as header name
//Page format
content += "<style>";
content += "body { background-color: black; color: white; }";