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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user