appendConfigData only for usermod + optimizations

- rename replaceOption to rOption
- rename removeOptions to dOptions
- set oAppend buffer size back to 3096
- WLEDMM warning on settings2D Populate
- add AppendConfig per usermod
- add request parameter to getSettinsJS
- add lookupName
This commit is contained in:
Ewoud
2023-01-03 13:08:14 +01:00
parent 7c1b655ca3
commit 9bc6451145
13 changed files with 3213 additions and 3187 deletions

View File

@@ -521,7 +521,7 @@ void serveSettingsJS(AsyncWebServerRequest* request)
return;
}
strcat_P(buf,PSTR("function GetV(){var d=document;"));
getSettingsJS(subPage, buf+strlen(buf)); // this may overflow by 35bytes!!!
getSettingsJS(request, subPage, buf+strlen(buf)); // this may overflow by 35bytes!!! WLEDMM add request
strcat_P(buf,PSTR("}"));
request->send(200, "application/javascript", buf);
}