Skip to content

Commit

Permalink
feature: 统一语言 Cookie (closed TencentBlueKing#1648)
Browse files Browse the repository at this point in the history
  • Loading branch information
CohleRustW committed Jul 7, 2023
1 parent acf4c0d commit 548b356
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions common/context_processors.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,4 +99,6 @@ def mysetting(request):
"BKAPP_NAV_OPEN_SOURCE_URL": settings.BKAPP_NAV_OPEN_SOURCE_URL,
# 导航栏技术支持地址
"BKAPP_NAV_HELPER_URL": settings.BKAPP_NAV_HELPER_URL,
"BK_DOMAIN": settings.BK_DOMAIN,
"BK_COMPONENT_API_OVERWRITE_URL": settings.BK_COMPONENT_API_OVERWRITE_URL,
}
1 change: 1 addition & 0 deletions config/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,7 @@
BK_COMPONENT_API_OVERWRITE_URL = env.BK_COMPONENT_API_URL
BK_APIGW_NAME = "bk-nodeman"
BK_API_URL_TMPL = env.BK_API_URL_TMPL
BK_DOMAIN = os.getenv("BKPAAS_BK_DOMAIN", "") or os.getenv("BK_DOMAIN", "")

BK_NODEMAN_HOST = env.BK_NODEMAN_HOST
# 节点管理后台外网域名,用于构造文件导入导出的API URL
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,6 @@ data:

BKAPP_NAV_OPEN_SOURCE_URL: "{{ .Values.config.bkAppNavOpenSourceUrl }}"
BKAPP_NAV_HELPER_URL: "{{ .Values.config.bkAppNavHelperUrl }}"
BK_DOMAIN: "{{ .Values.global.bkDomain }}"
BK_COMPONENT_API_OVERWRITE_URL: "{{ .Values.bkComponentApiUrl }}"

0 comments on commit 548b356

Please sign in to comment.