fix #339 maxJsonBuffrSize

This commit is contained in:
MichaelDvP
2022-03-21 13:44:40 +01:00
parent 3b5560b741
commit 786110359a
2 changed files with 8 additions and 4 deletions

View File

@@ -46,7 +46,8 @@ WebCustomizationService::WebCustomizationService(AsyncWebServer * server, FS * f
securityManager->wrapRequest(std::bind(&WebCustomizationService::reset_customization, this, _1), AuthenticationPredicates::IS_ADMIN));
_exclude_entities_handler.setMethod(HTTP_POST);
_exclude_entities_handler.setMaxContentLength(1024);
_exclude_entities_handler.setMaxContentLength(2048);
_exclude_entities_handler.setMaxJsonBufferSize(2048);
server->addHandler(&_exclude_entities_handler);
_device_entities_handler.setMethod(HTTP_POST);