|
|
|
|
@ -61,7 +61,7 @@ export default ({ mode, command }) => { |
|
|
|
|
port: 2888, |
|
|
|
|
proxy: { |
|
|
|
|
'/api': { |
|
|
|
|
target: 'http://192.168.0.115:80',//本地
|
|
|
|
|
// target: 'http://192.168.0.115:80',//本地
|
|
|
|
|
// target: 'http://192.168.1.5:82',
|
|
|
|
|
// target: "http://192.168.1.4:82",
|
|
|
|
|
// target: 'http://49.232.74.228:82',
|
|
|
|
|
@ -70,7 +70,7 @@ export default ({ mode, command }) => { |
|
|
|
|
// target: 'http://49.232.74.228:82',
|
|
|
|
|
// target: "http:192.168.0.220:80",
|
|
|
|
|
// target: 'http:49.232.74.228:49',
|
|
|
|
|
// target: 'http://49.232.74.228:80', //测试环境的地址
|
|
|
|
|
target: 'http://49.232.74.228:80', //测试环境的地址
|
|
|
|
|
changeOrigin: true, |
|
|
|
|
rewrite: path => path.replace(/^\/api/, ''), |
|
|
|
|
}, |
|
|
|
|
|