mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
remove shrinktofit to help mem frag
This commit is contained in:
@@ -109,7 +109,7 @@ void WebAPIService::webAPIService(AsyncWebServerRequest * request) {
|
||||
|
||||
// if we have returned data in JSON format, send this to the WEB
|
||||
if (json.size()) {
|
||||
doc.shrinkToFit();
|
||||
// doc.shrinkToFit();
|
||||
char buffer[EMSESP_MAX_JSON_SIZE_DYN];
|
||||
serializeJsonPretty(doc, buffer);
|
||||
request->send(200, "text/plain", buffer);
|
||||
|
||||
Reference in New Issue
Block a user