-> this function can read all single page css but not multiple at the same time
-> we are short on local ram memory because of the local buffering of all the css files functionality, html content, the logo.svg and config.json files functions
see attached memory leak image
-> we need to add all css into one file and simplify it, use style.css for this pupose
css
In main.cpp
void handleCSS(AsyncWebServerRequest* request) { // Serve the CSS file File cssFile = LittleFS.open("/style.css", "r"); if (cssFile) { request->send(200, "text/css", cssFile.readString()); cssFile.close(); } }
description
-> this function can read all single page css but not multiple at the same time
-> we are short on local ram memory because of the local buffering of all the css files functionality, html content, the logo.svg and config.json files functions
see attached memory leak image
-> we need to add all css into one file and simplify it, use style.css for this pupose
-> index.html and index.css can stay as is