Изменил celery
This commit is contained in:
parent
8d14f07451
commit
70eddae52e
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ app.add_middleware(
|
|||
allow_origins=origins,
|
||||
allow_credentials=True,
|
||||
allow_methods=["GET", "POST", "PUT", "DELETE", "OPTIONS", "PATCH"],
|
||||
allow_headers=["Content-Type", "Set-Cookie", "Access-Control-Allow-Headers", "Authorization", "Accept"],
|
||||
allow_headers=["*"],
|
||||
)
|
||||
|
||||
app.mount("/static", StaticFiles(directory="app/static"), name="static")
|
||||
|
|
Loading…
Add table
Reference in a new issue