kin: BATON-FIX-007-backend_dev
This commit is contained in:
parent
c838a775f7
commit
b2fecc5993
2 changed files with 156 additions and 1 deletions
|
|
@ -120,7 +120,7 @@ app = FastAPI(lifespan=lifespan)
|
|||
app.add_middleware(
|
||||
CORSMiddleware,
|
||||
allow_origins=[config.FRONTEND_ORIGIN],
|
||||
allow_methods=["POST"],
|
||||
allow_methods=["GET", "HEAD", "OPTIONS", "POST"],
|
||||
allow_headers=["Content-Type", "Authorization"],
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue