xiaohuan 4 years ago
parent
commit
a1de25a64d
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/router/index.js
  2. 1 1
      src/store/index.js

+ 1 - 1
src/router/index.js

@@ -94,7 +94,7 @@ router.beforeEach(async (to, from, next) => {
       query: to.query
     }
     store.commit('setLastRoute', lastRoute)
-    let ssoServer = 'http://sso.sagacloud.cn'
+    let ssoServer = 'http://10.199.143.85:7003'
     let redirectUrl = window.location.protocol + '//' + window.location.host + '/auth'
     window.location.href = `${ssoServer}/login?redirectUrl=${redirectUrl}`
   }

+ 1 - 1
src/store/index.js

@@ -73,7 +73,7 @@ const store = new Vuex.Store({
         })
         localStorage.setItem('token', token)
       } else {
-        let ssoServer = 'http://sso.sagacloud.cn'
+        let ssoServer = 'http://10.199.143.85:7003'
         let redirectUrl = window.location.protocol + '//' + window.location.host + '/auth'
         window.location.href = `${ssoServer}/login?redirectUrl=${redirectUrl}`
       }