Skip to content

Commit

Permalink
Fix doc url (#2316)
Browse files Browse the repository at this point in the history
* feat: add doc url prefix

* fix: fix doc url
  • Loading branch information
zhu327 authored Oct 30, 2023
1 parent e703f16 commit 1c2922c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion saas/backend/common/vue.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +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,
"BK_DOCS_URL_PREFIX": settings.BK_DOCS_URL_PREFIX.rstrip("/"),
}

# 添加前端功能启用开关
Expand Down
2 changes: 1 addition & 1 deletion saas/config/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -465,4 +465,4 @@


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

0 comments on commit 1c2922c

Please sign in to comment.