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:
Bram Kragten 2021-02-26 00:28:22 +01:00 committed by GitHub
parent d084291055
commit e3105c7eb1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 6 deletions

View file

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