Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 【审计报表】审计风险报表异常 --bug=133310627 #459

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions src/backend/config/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,19 @@
# 全局配置
BK_SHARED_RES_URL = os.getenv("BKAPP_BK_SHARED_RES_URL", os.getenv("BKPAAS_SHARED_RES_URL", ""))

# CORS 允许的 header
CORS_ALLOW_HEADERS = [
"x-requested-with",
"content-type",
"accept,origin",
"authorization",
"x-csrftoken",
"user-agent",
"accept-encoding",
"time-zone",
*os.getenv("BKAPP_CORS_ALLOW_HEADERS", "").split(","),
]

"""
以下为框架代码 请勿修改
"""
Expand Down
Loading