Skip to content

Commit

Permalink
Merge pull request #460 from 0RAJA/fix_bkvision
Browse files Browse the repository at this point in the history
fix: 【审计报表】审计风险报表异常 --bug=133310627
  • Loading branch information
0RAJA authored Nov 4, 2024
2 parents 6eb7b61 + 79da724 commit b1a4ba5
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 b1a4ba5

Please sign in to comment.