Fix #160: Increase output buffer for inverter list

This commit is contained in:
Thomas Basler 2022-09-24 10:28:05 +02:00
parent 53692bae34
commit 290932519c

View File

@ -28,7 +28,7 @@ void WebApiInverterClass::loop()
void WebApiInverterClass::onInverterList(AsyncWebServerRequest* request) void WebApiInverterClass::onInverterList(AsyncWebServerRequest* request)
{ {
AsyncJsonResponse* response = new AsyncJsonResponse(); AsyncJsonResponse* response = new AsyncJsonResponse(false, 4096U);
JsonObject root = response->getRoot(); JsonObject root = response->getRoot();
JsonArray data = root.createNestedArray(F("inverter")); JsonArray data = root.createNestedArray(F("inverter"));