flat: 暂存
This commit is contained in:
2
.env.development
Normal file
2
.env.development
Normal file
@@ -0,0 +1,2 @@
|
||||
VUE_APP_SITE='default'
|
||||
VUE_APP_LOGIN_ERROR = 'http://10.160.7.216:9920/casserver/login'
|
||||
2
.env.production
Normal file
2
.env.production
Normal file
@@ -0,0 +1,2 @@
|
||||
VUE_APP_SITE='default'
|
||||
VUE_APP_LOGIN_ERROR = 'http://10.160.7.216:9920/casserver/login'
|
||||
@@ -175,6 +175,9 @@ export default {
|
||||
loading.close();
|
||||
this.proLoading = false
|
||||
}).catch(() => {
|
||||
if(obj.ticket) {
|
||||
return window.location.href = process.env.VUE_APP_LOGIN_ERROR
|
||||
}
|
||||
this.proLoading = false
|
||||
loading.close();
|
||||
this.refreshCode();
|
||||
|
||||
@@ -23,7 +23,7 @@ module.exports = {
|
||||
port: 1888,
|
||||
proxy: {
|
||||
"/api": {
|
||||
target: 'http://192.168.3.215:8000',
|
||||
target: 'http://10.165.0.173:8000',
|
||||
ws: true,
|
||||
changeOrigin: true,
|
||||
pathRewrite: {
|
||||
|
||||
Reference in New Issue
Block a user