constant.js
292 Bytes
let BASE_URL = '/'
/* if(process.env.NODE_ENV === 'development') {
BASE_URL = '/'
}else {
BASE_URL = process.env.VUE_APP_BASE_API + '/'
} */
let host = window.location.host
switch(host) {
case 'e-shield.glsx.net':
BASE_URL = 'http://frbt.branch.glsx.com.cn/'
}
export {BASE_URL}