mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-03 09:49:32 +02:00
Merge pull request #312 from dalathegreat/feature/name-webui
Microfeature: Customizable name on webserver
This commit is contained in:
commit
bcaf3ab5b4
2 changed files with 4 additions and 4 deletions
|
@ -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; }";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue