Spaces:
Running
Running
BinaryONe
commited on
Commit
·
c5553ae
1
Parent(s):
6c92dfc
Related to Circular Import Fix
Browse files
FileStream/server/routes_api.py
CHANGED
@@ -229,7 +229,7 @@ async def stream_handler(request: web.Request):
|
|
229 |
|
230 |
api = web.Application()
|
231 |
|
232 |
-
cors = aiohttp_cors.setup(
|
233 |
"*": aiohttp_cors.ResourceOptions(
|
234 |
allow_credentials=True,
|
235 |
expose_headers="*",
|
|
|
229 |
|
230 |
api = web.Application()
|
231 |
|
232 |
+
cors = aiohttp_cors.setup(api, defaults={
|
233 |
"*": aiohttp_cors.ResourceOptions(
|
234 |
allow_credentials=True,
|
235 |
expose_headers="*",
|