We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c1470c commit 2b1a1e1Copy full SHA for 2b1a1e1
backend/app/main.py
@@ -22,7 +22,7 @@ def custom_generate_unique_id(route: APIRoute) -> str:
22
23
# Set all CORS enabled origins
24
if settings.all_cors_origins:
25
- app.add_middleware(
+ app.add_middleware( # type: ignore[arg-type]
26
CORSMiddleware,
27
allow_origins=settings.all_cors_origins,
28
allow_credentials=True,
0 commit comments