Update HTTP defaults (#25702)

* Update HTTP defaults

* Fix tests
This commit is contained in:
Paulus Schoutsen authored and Pascal Vizeli committed 2019-08-05 08:24:54 +02:00
1 parent 6b511789d6
commit 57f84cbbaa
4 files changed
+16 -2

No files matched your search

+1 -1
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",