diff --git a/config/dev.env.js b/config/dev.env.js index f934ec0..87b7a20 100644 --- a/config/dev.env.js +++ b/config/dev.env.js @@ -5,9 +5,9 @@ const prodEnv = require('./prod.env') const isDev = false; //开发API地址 // const devAdrress='"http://weberp.xlyprint.cn/xlyReport"'; -const devAdrress='"http://10.100.5.241:8888/xlyReport"'; +const devAdrress='"http://119.145.27.222:8889/xlyReport"'; //正式打包API地址 -const ipAdrress='"http://10.100.5.241:8888/xlyReport"'; +const ipAdrress='"http://"+location.host+"/xlyReport"'; module.exports = merge(prodEnv, { NODE_ENV: '"development"', @@ -15,4 +15,3 @@ module.exports = merge(prodEnv, { // BASE_API: '"http://weberp.xlyprint.cn/xlyReport"', // API_WS: '"ws://127.0.0.1:8080/api/websocket"' }) -