Skip to content

fix: 登录跳转路径添加尾/作为默认值,确保二进制部署时能够正确跳转 #318

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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