Skip to content

Commit

Permalink
Merge pull request #177 from Mincka/patch-1
Browse files Browse the repository at this point in the history
Update allow_cors key to allow_all_cors
  • Loading branch information
AlexxIT authored Dec 5, 2021
2 parents 308a42e + 795a58d commit f55155c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/webrtc/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ async def serve_file(request):
return web.FileResponse(path)

route = app.router.add_route("GET", url_path, serve_file)
app['allow_cors'](route)
app['allow_all_cors'](route)


async def init_resource(hass: HomeAssistantType, url: str, ver: str) -> bool:
Expand Down

0 comments on commit f55155c

Please sign in to comment.