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

pull/37876/head
Paulus Schoutsen 2020-07-15 00:23:16 -07:00 committed by GitHub
parent 1d7f3416d3
commit 633f9b2f01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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.