|
@@ -128,9 +128,9 @@ service.interceptors.response.use(
|
|
|
type: 'warning',
|
|
|
duration: 5 * 1000
|
|
|
})
|
|
|
- // if (location.href.indexOf('localhost') < 0) {
|
|
|
- // location.href = 'http://10.179.209.19:8899/'
|
|
|
- // }
|
|
|
+ if (location.href.indexOf('localhost') < 0) {
|
|
|
+ location.href = 'http://10.179.209.19:8899/'
|
|
|
+ }
|
|
|
}
|
|
|
return Promise.reject(error)
|
|
|
}
|