Skip to content

Commit a76f483

Browse files
committed
fix GET /config output incomplete, increased json object size
1 parent cc9e73f commit a76f483

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/web_server_config.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ extern bool isPositive(MongooseHttpServerRequest *request, const char *param);
2424
void
2525
handleConfigGet(MongooseHttpServerRequest *request, MongooseHttpServerResponseStream *response)
2626
{
27-
const size_t capacity = JSON_OBJECT_SIZE(43) + 1024;
27+
const size_t capacity = JSON_OBJECT_SIZE(1024) + 1024;
2828
DynamicJsonDocument doc(capacity);
2929

3030
// Read only information

0 commit comments

Comments
 (0)