Hardcode CORS credentials disabled and remove env toggle

This commit is contained in:
2026-03-01 17:16:13 -03:00
parent bfc89fe5ce
commit 1c57084ebf
7 changed files with 5 additions and 9 deletions

View File

@@ -39,7 +39,7 @@ def create_app() -> FastAPI:
app.add_middleware(
CORSMiddleware,
allow_origins=allowed_origins,
allow_credentials=bool(getattr(settings, "cors_allow_credentials", False)),
allow_credentials=False,
allow_methods=["*"],
allow_headers=["*"],
)