diff --git a/src/test/test.cpp b/src/test/test.cpp index 6523a773e..5ff31d816 100644 --- a/src/test/test.cpp +++ b/src/test/test.cpp @@ -640,7 +640,7 @@ void Test::run_test(uuid::console::Shell & shell, const std::string & cmd, const } if (command == "api_values") { -#ifndef EMSESP_DEBUG +#if defined(EMSESP_STANDALONE) shell.printfln(F("Testing API getting values")); Mqtt::ha_enabled(false); Mqtt::nested_format(1); diff --git a/src/web/WebCustomizationService.cpp b/src/web/WebCustomizationService.cpp index a2a0103f0..08a11e778 100644 --- a/src/web/WebCustomizationService.cpp +++ b/src/web/WebCustomizationService.cpp @@ -46,7 +46,7 @@ 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(256); + _exclude_entities_handler.setMaxContentLength(1024); server->addHandler(&_exclude_entities_handler); _device_entities_handler.setMethod(HTTP_POST);