mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
Merge branch 'dev' into dev
This commit is contained in:
@@ -640,7 +640,7 @@ void Test::run_test(uuid::console::Shell & shell, const std::string & cmd, const
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (command == "api_values") {
|
if (command == "api_values") {
|
||||||
#ifndef EMSESP_DEBUG
|
#if defined(EMSESP_STANDALONE)
|
||||||
shell.printfln(F("Testing API getting values"));
|
shell.printfln(F("Testing API getting values"));
|
||||||
Mqtt::ha_enabled(false);
|
Mqtt::ha_enabled(false);
|
||||||
Mqtt::nested_format(1);
|
Mqtt::nested_format(1);
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ WebCustomizationService::WebCustomizationService(AsyncWebServer * server, FS * f
|
|||||||
securityManager->wrapRequest(std::bind(&WebCustomizationService::reset_customization, this, _1), AuthenticationPredicates::IS_ADMIN));
|
securityManager->wrapRequest(std::bind(&WebCustomizationService::reset_customization, this, _1), AuthenticationPredicates::IS_ADMIN));
|
||||||
|
|
||||||
_exclude_entities_handler.setMethod(HTTP_POST);
|
_exclude_entities_handler.setMethod(HTTP_POST);
|
||||||
_exclude_entities_handler.setMaxContentLength(256);
|
_exclude_entities_handler.setMaxContentLength(1024);
|
||||||
server->addHandler(&_exclude_entities_handler);
|
server->addHandler(&_exclude_entities_handler);
|
||||||
|
|
||||||
_device_entities_handler.setMethod(HTTP_POST);
|
_device_entities_handler.setMethod(HTTP_POST);
|
||||||
|
|||||||
Reference in New Issue
Block a user