Fix endpoint compatibility

This commit is contained in:
2026-02-10 03:48:10 +08:00
parent 81f654c3fd
commit 1fba549359
4 changed files with 4 additions and 82 deletions

View File

@@ -35,7 +35,7 @@ def create_application() -> FastAPI:
application.add_middleware(
CORSMiddleware,
allow_origins=["*"],
allow_credentials=True,
allow_credentials=False, # Changed to False for better compat with allow_origins=["*"]
allow_methods=["*"],
allow_headers=["*"],
)