修改SSO

This commit is contained in:
ZhuJW
2026-07-10 21:10:17 +08:00
parent fce40c7d6c
commit 6ebd45d894
14 changed files with 66 additions and 76 deletions
+9 -9
View File
@@ -1,14 +1,14 @@
# 接口前缀(相对路径,走 nginx 反代)
VITE_APP_BASE_API=/accidentportal/api
VITE_APP_BASE_URL=http://150.158.236.152:5221
# The title of your application (string)
# 站点域名
VITE_APP_BASE_URL=https://cadb.dvb.corpinter.net.cn
VITE_GLOB_APP_TITLE="RDCA_Incidents Data Portal"
# 登录跳转
# VITE_LOGIN_URL = http://150.158.236.152:5221/login
VITE_LOGIN_URL = http://150.158.236.152:5221/accidentportal/api/user/login
# 登录入口:整页跳到后端 SSO 入口(经 nginx /accidentportal/api 反代)
VITE_LOGIN_URL=/accidentportal/api/user/login
# 请求头的密钥
VITE_APP_CHECK_KEY = 'mbincid-server12'
VITE_APP_CHECK_KEY='mbincid-server12'
# 前端配置域名加的前缀
VITE_APP_DOMAIN_PREFIX = 'accidentportal'
# 前端路由/资源前缀
VITE_APP_DOMAIN_PREFIX='accidentportal'