Skip to content

Commit 6cef6e8

Browse files
committed
feat: add bk_user_ui_host
1 parent 6c10f5a commit 6cef6e8

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

bcs-ui/embed.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ func (e *EmbedWeb) IndexHandler() http.Handler {
180180
"BK_CC_HOST": config.G.FrontendConf.Host.BKCCHost,
181181
"BK_SRE_HOST": config.G.FrontendConf.Host.BKSREHOST,
182182
"BK_USER_HOST": config.G.FrontendConf.Host.BKUserHost,
183+
"BK_USER_UI_HOST": config.G.FrontendConf.Host.BKUserUIHost,
183184
"BK_LOG_HOST": config.G.FrontendConf.Host.BKLogHost,
184185
"BK_SHARED_RES_BASE_JS_URL": config.G.FrontendConf.Host.BKSharedResBaseJSURL,
185186
"LOGIN_FULL": config.G.FrontendConf.Host.LoginFullURL,

bcs-ui/pkg/config/frontend.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ type HostConf struct {
3232
BKMonitorHost string `yaml:"bk_monitor_host"` // 蓝鲸监控
3333
BKSREHOST string `yaml:"bk_sre_host"` // 申请服务器地址
3434
BKUserHost string `yaml:"bk_user_host"` // 用户中心地址
35+
BKUserUIHost string `yaml:"bk_user_ui_host"` // 用户中心UI地址
3536
BKLogHost string `yaml:"bk_log_host"` // 日志平台地址
3637
BKSharedResURL string `yaml:"bk_shared_res_url"` // 对应运维公共变量bkSharedResUrl, PaaS环境变量BKPAAS_SHARED_RES_URL
3738
BKSharedResBaseJSURL string `yaml:"-"` // 规则是${bkSharedResUrl}/${目录名 aka app_code}/base.js

0 commit comments

Comments
 (0)