Allow discovery info accessible from CORS enabled domains (#46226)
This commit is contained in:
parent
1b194e3b2f
commit
e27619fe50
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue