Skip to content

Commit

Permalink
feat: add doc url prefix (#2313)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhu327 authored Oct 30, 2023
1 parent 22d2db9 commit df3a3c0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions saas/backend/common/vue.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ def get(self, request):
"BK_ITSM_APP_URL": settings.BK_ITSM_APP_URL.rstrip("/"),
# BK_DOMAIN
"BK_DOMAIN": settings.BK_DOMAIN,
"BK_DOCS_URL_PREFIX": settings.BK_DOCS_URL_PREFIX,
}

# 添加前端功能启用开关
Expand Down
4 changes: 4 additions & 0 deletions saas/config/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -462,3 +462,7 @@

# BCS初始化ROLE网关api配置
BK_BCS_APIGW_URL = env.str("BK_BCS_APIGW_URL", default="")


# 文档地址
BK_DOCS_URL_PREFIX = env.str("BK_DOCS_URL_PREFIX", default="https://bk.tentcent.com/docs/")

0 comments on commit df3a3c0

Please sign in to comment.