Update HTTP defaults (#25702)

* Update HTTP defaults

* Fix tests
This commit is contained in:
Paulus Schoutsen 2019-08-04 23:24:54 -07:00 committed by Pascal Vizeli
parent 6b511789d6
commit 57f84cbbaa
4 changed files with 16 additions and 2 deletions

View file

@ -103,7 +103,7 @@ def test_secrets(isfile_patch, loop):
assert res["components"].keys() == {"homeassistant", "http"}
assert res["components"]["http"] == {
"api_password": "abc123",
"cors_allowed_origins": [],
"cors_allowed_origins": ["https://cast.home-assistant.io"],
"ip_ban_enabled": True,
"login_attempts_threshold": -1,
"server_host": "0.0.0.0",