Revert CORS changes for my home assistant (#47064)
* Revert CORS changes for my home assistant * Update test_init.py * Update test_init.py
This commit is contained in:
parent
d084291055
commit
e3105c7eb1
3 changed files with 2 additions and 6 deletions
|
@ -178,7 +178,6 @@ 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