Prefer external URLs because internal can't have valid SSL (#37872)
parent
1d7f3416d3
commit
633f9b2f01
|
@ -41,7 +41,7 @@ async def async_setup_ha_cast(
|
||||||
|
|
||||||
async def handle_show_view(call: core.ServiceCall):
|
async def handle_show_view(call: core.ServiceCall):
|
||||||
"""Handle a Show View service call."""
|
"""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(
|
controller = HomeAssistantController(
|
||||||
# If you are developing Home Assistant Cast, uncomment and set to your dev app id.
|
# If you are developing Home Assistant Cast, uncomment and set to your dev app id.
|
||||||
|
|
Loading…
Reference in New Issue