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 5ec2650 commit 04c39aaCopy full SHA for 04c39aa
modules/api/main.py
@@ -48,7 +48,7 @@ class Config:
48
# CORS設定
49
app.add_middleware(
50
CORSMiddleware,
51
- allow_origins=["*"], # 本番環境では適切なオリジンを設定
+ allow_origins=["*"], # 本番環境では適切なオリジンを設定 # nosemgrep: python.fastapi.security.wildcard-cors.wildcard-cors
52
allow_credentials=True,
53
allow_methods=["*"],
54
allow_headers=["*"],
0 commit comments