|
|
|
@ -27,7 +27,7 @@ module.exports = {
|
|
|
|
|
'/api': { |
|
|
|
|
// 本地服务接口地址
|
|
|
|
|
// target: 'http://nps.scqtkj.com:51490/',
|
|
|
|
|
target: 'http://192.168.2.14:8081/', |
|
|
|
|
target: 'http://192.168.3.107:8081/', |
|
|
|
|
//target: 'http://10.10.10.11:8088/',
|
|
|
|
|
//远程演示服务地址,可用于直接启动项目
|
|
|
|
|
//target: 'https://saber.bladex.vip/api',
|
|
|
|
@ -35,18 +35,8 @@ module.exports = {
|
|
|
|
|
pathRewrite: { |
|
|
|
|
'^/api': '' |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
'/': { |
|
|
|
|
// 本地服务接口地址
|
|
|
|
|
target: 'http://nps.scqtkj.com:51490/', |
|
|
|
|
//target: 'http://10.10.10.11:8088/',
|
|
|
|
|
//远程演示服务地址,可用于直接启动项目
|
|
|
|
|
//target: 'https://saber.bladex.vip/api',
|
|
|
|
|
ws: true, |
|
|
|
|
pathRewrite: { |
|
|
|
|
'^/': '/' |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|