rt-sim-training-client/src/utils/baseUrl.js

23 lines
912 B
JavaScript
Raw Normal View History

2020-10-26 11:31:32 +08:00
export function getBaseUrl() {
let BASE_API;
if (process.env.NODE_ENV === 'development') {
2020-11-03 13:21:56 +08:00
// BASE_API = 'https://joylink.club/jlcloud';
// BASE_API = 'https://test.joylink.club/jlcloud';
2020-10-29 17:34:56 +08:00
// BASE_API = 'http://192.168.8.107:9000'; // 袁琪
2020-11-12 15:00:14 +08:00
<<<<<<< HEAD
BASE_API = 'http://192.168.8.129:9000'; // 旭强
2020-11-04 16:32:19 +08:00
// BASE_API = 'http://192.168.8.109:9000'; // 张赛
2020-11-12 15:00:14 +08:00
=======
2020-11-03 14:06:30 +08:00
// BASE_API = 'http://192.168.8.114:9000'; // 旭强
2020-11-12 09:04:37 +08:00
// BASE_API = 'http://192.168.8.119:9000'; // 张赛
2020-11-12 15:00:14 +08:00
>>>>>>> db3660a0eb4a43be2f1a1d92596ec156b7bda701
2020-10-30 10:23:11 +08:00
// BASE_API = 'http://192.168.8.110:9000'; // 杜康
2020-10-26 11:31:32 +08:00
// BASE_API = 'http://b29z135112.zicp.vip';
// BASE_API = 'http://2925963m2a.zicp.vip'; // 杜康
// BASE_API = 'http://2i38984j47.qicp.vip'; // 张赛
} else {
BASE_API = process.env.VUE_APP_BASE_API;
}
return BASE_API;
}