mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Base url: Fix external port different from internal port (#4990)
* Base url: Fix external port different from internal port * Add base_url example to new config
This commit is contained in:
@@ -171,7 +171,7 @@ def test_api_base_url(loop):
|
||||
})
|
||||
)
|
||||
|
||||
assert hass.config.api.base_url == 'http://example.com:8123'
|
||||
assert hass.config.api.base_url == 'http://example.com'
|
||||
|
||||
assert loop.run_until_complete(
|
||||
bootstrap.async_setup_component(hass, 'http', {
|
||||
|
||||
Reference in New Issue
Block a user