Skip to content

Commit

Permalink
fix: 【审计报表】审计风险报表异常 --bug=133310627
Browse files Browse the repository at this point in the history
  • Loading branch information
0RAJA committed Nov 4, 2024
1 parent 6eb7b61 commit 79da724
Showing 1 changed file with 13 additions and 0 deletions.
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

0 comments on commit 79da724

Please sign in to comment.