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

18 lines
714 B
JavaScript
Raw Normal View History

2020-04-02 11:20:35 +08:00
export function getBaseUrl() {
let BASE_API;
if (process.env.NODE_ENV === 'development') {
// BASE_API = 'https://joylink.club/jlcloud';
2020-07-17 17:20:32 +08:00
BASE_API = 'https://test.joylink.club/jlcloud';
2020-04-02 11:20:35 +08:00
// BASE_API = 'http://192.168.3.5:9000'; // 袁琪
2020-07-17 17:20:32 +08:00
// BASE_API = 'http://192.168.3.6:9000'; // 旭强
2020-07-17 13:05:18 +08:00
// BASE_API = 'http://192.168.3.41:9000'; // 张赛
2020-07-14 13:41:17 +08:00
// BASE_API = 'http://192.168.3.82:9000'; // 杜康
2020-04-02 11:20:35 +08:00
// BASE_API = 'http://b29z135112.zicp.vip';
// BASE_API = 'http://2925963m2a.zicp.vip'; // 杜康
// BASE_API = 'http://2i38984j47.qicp.vip'; // 张赛
} else {
2020-04-02 11:20:35 +08:00
BASE_API = process.env.VUE_APP_BASE_API;
}
return BASE_API;
}