mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
Prefer external URLs because internal can't have valid SSL (#37872)
This commit is contained in:
parent
1d7f3416d3
commit
633f9b2f01
@ -41,7 +41,7 @@ async def async_setup_ha_cast(
|
||||
|
||||
async def handle_show_view(call: core.ServiceCall):
|
||||
"""Handle a Show View service call."""
|
||||
hass_url = get_url(hass, require_ssl=True)
|
||||
hass_url = get_url(hass, require_ssl=True, prefer_external=True)
|
||||
|
||||
controller = HomeAssistantController(
|
||||
# If you are developing Home Assistant Cast, uncomment and set to your dev app id.
|
||||
|
Loading…
x
Reference in New Issue
Block a user