mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Allow discovery info accessible from CORS enabled domains (#46226)
This commit is contained in:
parent
1b194e3b2f
commit
e27619fe50
@ -178,6 +178,7 @@ class APIDiscoveryView(HomeAssistantView):
|
||||
requires_auth = False
|
||||
url = URL_API_DISCOVERY_INFO
|
||||
name = "api:discovery"
|
||||
cors_allowed = True
|
||||
|
||||
async def get(self, request):
|
||||
"""Get discovery information."""
|
||||
|
Loading…
x
Reference in New Issue
Block a user