diff --git a/Software/src/devboard/webserver/index_html.cpp b/Software/src/devboard/webserver/index_html.cpp index 788f7fec..5d3d3bfd 100644 --- a/Software/src/devboard/webserver/index_html.cpp +++ b/Software/src/devboard/webserver/index_html.cpp @@ -1,5 +1,5 @@ const char index_html[] = R"rawliteral( -Battery Emulator

Battery Emulator

%ABC% +Battery Emulator%X% )rawliteral"; /* The above code is minified (https://kangax.github.io/html-minifier/) to increase performance. Here is the full HTML function: @@ -14,8 +14,7 @@ const char index_html[] = R"rawliteral( -

Battery Emulator

- %ABC% + %X% */ diff --git a/Software/src/devboard/webserver/webserver.cpp b/Software/src/devboard/webserver/webserver.cpp index bad1bad5..0f2b8c2f 100644 --- a/Software/src/devboard/webserver/webserver.cpp +++ b/Software/src/devboard/webserver/webserver.cpp @@ -358,8 +358,9 @@ void init_ElegantOTA() { } String processor(const String& var) { - if (var == "ABC") { + if (var == "X") { String content = ""; + content += "

" + String(ssidAP) + "

"; // ssidAP name is used as header name //Page format content += "