Skip to content

Commit

Permalink
fix: 登录跳转路径添加尾/作为默认值,确保二进制部署时能够正确跳转
Browse files Browse the repository at this point in the history
  • Loading branch information
IMBlues committed Mar 22, 2022
1 parent 8adc99c commit 071eec3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/api/bkuser_core/user_settings/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ class SettingsEnableNamespaces(AutoLowerEnum):
(GENERAL, "通用"),
(PASSWORD, "密码"),
(CONNECTION, "连接"),
# revert #300
(FIELDS, "字段"),
)

Expand Down
2 changes: 1 addition & 1 deletion src/saas/bkuser_shell/config/common/platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
BK_PAAS_URL = env("BK_PAAS_URL")

# 蓝鲸登录跳转页面
BK_LOGIN_URL = env("BK_LOGIN_URL", default=f"{BK_PAAS_URL}/login")
BK_LOGIN_URL = env("BK_LOGIN_URL", default=f"{BK_PAAS_URL}/login/")
# 蓝鲸登录 API URL
BK_LOGIN_API_URL = env("BK_LOGIN_API_URL", default=f"{BK_PAAS_URL}/login")

Expand Down

0 comments on commit 071eec3

Please sign in to comment.