BinaryONe commited on
Commit
c5553ae
·
1 Parent(s): 6c92dfc

Related to Circular Import Fix

Browse files
Files changed (1) hide show
  1. FileStream/server/routes_api.py +1 -1
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(app, defaults={
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="*",