dev.env.js
562 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://172.16.114.9:8085/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"'
})