修改请求路径前缀

master
yujialong 3 years ago
parent f98e820c6d
commit a10a3ad9a8
  1. 2
      src/config/index.js

@ -3,7 +3,7 @@ export default {
/** /**
* @description 域名切换liuwan职站测试环境occupationlab.com职站正式环境10.196.131.73河海版本 * @description 域名切换liuwan职站测试环境occupationlab.com职站正式环境10.196.131.73河海版本
*/ */
host: (process.env.NODE_ENV === 'development' || location.host.includes('120.78.198.231')) ? 'http://120.78.198.231:8081' : (location.host.includes('10.196.131.73') ? 'http://10.196.131.73/' : 'http://www.occupationlab.com/'), host: (process.env.NODE_ENV === 'development' || location.host.includes('120.78.198.231')) ? 'http://120.78.198.231:8081/' : (location.host.includes('10.196.131.73') ? 'http://10.196.131.73/' : 'http://www.occupationlab.com/'),
/** /**
* @description 是否是河海版本 * @description 是否是河海版本
*/ */

Loading…
Cancel
Save