wenhongquan 3 years ago
parent
commit
e0b3ffdad1
3 changed files with 3 additions and 3 deletions
  1. 1 1
      .env.prod
  2. 1 1
      .env.test
  3. 1 1
      src/utils/constant.ts

+ 1 - 1
.env.prod

@@ -4,5 +4,5 @@ NODE_ENV = prod
 
 VITE_API_SERVER = 'http://10.11.208.17:30876'
 VITE_MAP_SERVER = 'http://10.11.208.19:21009'
-VITE_LOGIN_SERVER = 'http://10.11.208.32:9999'
+VITE_LOGIN_SERVER = 'http://10.11.208.32:9999/'
 VITE_DH_SERVER = 'http://sqdh.xt.wenhq.top:8083'

+ 1 - 1
.env.test

@@ -4,5 +4,5 @@ NODE_ENV = test
 
 VITE_API_SERVER = 'http://61.147.254.211:30876'
 VITE_MAP_SERVER = 'http://61.147.254.211:21009'
-VITE_LOGIN_SERVER = 'https://tocc.jtj.suqian.gov.cn:9999'
+VITE_LOGIN_SERVER = 'https://tocc.jtj.suqian.gov.cn:9999/'
 VITE_DH_SERVER = 'http://sqdh.xt.wenhq.top:8083'

+ 1 - 1
src/utils/constant.ts

@@ -6,4 +6,4 @@ export const BASE_USER_LOCATION_URL =
 export const BASE_RESOURCE_URL =
   BASE_URL + '/common/download/resource?resource=';
 export const LOGIN_URL =
-  (import.meta.env.VITE_LOGIN_SERVER as string) + '/#/login';
+  (import.meta.env.VITE_LOGIN_SERVER as string) + '#/login';