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:
parent
744d00a36e
commit
ed0d14c902
4 changed files with 23 additions and 9 deletions
|
@ -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', {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue