dev.env.js 563 Bytes
'use strict'
const merge = require('webpack-merge')
const prodEnv = require('./prod.env')
//是否开发状态
const isDev = false;
//开发API地址
// const devAdrress='"http://weberp.xlyprint.cn/xlyReport"';
const devAdrress='"http://119.145.27.222:8889/xlyReport"';
//正式打包API地址
const ipAdrress='"http://"+location.host+"/xlyReport"';

module.exports = merge(prodEnv, {
  NODE_ENV: '"development"',
  BASE_API: isDev?devAdrress:ipAdrress,
//  BASE_API: '"http://weberp.xlyprint.cn/xlyReport"',
//   API_WS: '"ws://127.0.0.1:8080/api/websocket"'
})