Prefer external URLs because internal can't have valid SSL (#37872)

This commit is contained in:
Paulus Schoutsen authored and GitHub committed 2020-07-15 09:23:16 +02:00
1 parent 1d7f3416d3
commit 633f9b2f01
1 file changed
+1 -1
@@ -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.