Skip to content

Commit

Permalink
DynamicJsonDocument zones(1024)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gazki committed May 28, 2024
1 parent 70fddbd commit 5b43c06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/web.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1056,7 +1056,7 @@ void handleGeneral()
serializeJson(doc, result);
serverWeb.sendHeader(respHeaderName, result);

DynamicJsonDocument zones(10240);
DynamicJsonDocument zones(1024);
String results;

JsonArray zonesArray = zones.to<JsonArray>();
Expand Down

0 comments on commit 5b43c06

Please sign in to comment.