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 085dd7b commit 62e365fCopy full SHA for 62e365f
demo_project/main.py
@@ -28,10 +28,10 @@
28
if settings.BACKEND_CORS_ORIGINS: # pragma: no cover
29
app.add_middleware(
30
CORSMiddleware,
31
- allow_origins=[str(origin) for origin in settings.BACKEND_CORS_ORIGINS],
32
- allow_credentials=True,
33
- allow_methods=['*'],
34
- allow_headers=['*'],
+ allow_origins=[str(origin) for origin in settings.BACKEND_CORS_ORIGINS], # type: ignore
+ allow_credentials=True, # type: ignore
+ allow_methods=['*'], # type: ignore
+ allow_headers=['*'], # type: ignore
35
)
36
37
0 commit comments