Spaces:
Running
Running
BinaryONe
commited on
Commit
·
864c592
1
Parent(s):
4abcb4b
Cors Issue Test
Browse files
FileStream/server/routes_api.py
CHANGED
|
@@ -233,7 +233,6 @@ async def stream_handler(request: web.Request):
|
|
| 233 |
api = web.Application()
|
| 234 |
|
| 235 |
cors = aiohttp_cors.setup(api, defaults={
|
| 236 |
-
'Access-Control-Allow-Origin' :'*',
|
| 237 |
"*": aiohttp_cors.ResourceOptions(
|
| 238 |
allow_credentials=False,
|
| 239 |
expose_headers="*",
|
|
|
|
| 233 |
api = web.Application()
|
| 234 |
|
| 235 |
cors = aiohttp_cors.setup(api, defaults={
|
|
|
|
| 236 |
"*": aiohttp_cors.ResourceOptions(
|
| 237 |
allow_credentials=False,
|
| 238 |
expose_headers="*",
|