Commit 2441b605777100185e66c1ea89ee78c01be141ce

Authored by chenxt
1 parent 9a88c70a

路由配置

Showing 1 changed file with 2 additions and 3 deletions
config/dev.env.js
... ... @@ -5,9 +5,9 @@ const prodEnv = require('./prod.env')
5 5 const isDev = false;
6 6 //开发API地址
7 7 // const devAdrress='"http://weberp.xlyprint.cn/xlyReport"';
8   -const devAdrress='"http://10.100.5.241:8888/xlyReport"';
  8 +const devAdrress='"http://119.145.27.222:8889/xlyReport"';
9 9 //正式打包API地址
10   -const ipAdrress='"http://10.100.5.241:8888/xlyReport"';
  10 +const ipAdrress='"http://"+location.host+"/xlyReport"';
11 11  
12 12 module.exports = merge(prodEnv, {
13 13 NODE_ENV: '"development"',
... ... @@ -15,4 +15,3 @@ module.exports = merge(prodEnv, {
15 15 // BASE_API: '"http://weberp.xlyprint.cn/xlyReport"',
16 16 // API_WS: '"ws://127.0.0.1:8080/api/websocket"'
17 17 })
18   -
... ...