kin: BATON-FIX-007-backend_dev

This commit is contained in:
Gros Frumos 2026-03-21 09:30:44 +02:00
parent c838a775f7
commit b2fecc5993
2 changed files with 156 additions and 1 deletions

View file

@ -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"],
)