|
|
|
|
@ -1,6 +1,6 @@ |
|
|
|
|
module.exports = { |
|
|
|
|
//路径前缀
|
|
|
|
|
publicPath: "/", |
|
|
|
|
publicPath: "./", |
|
|
|
|
lintOnSave: true, |
|
|
|
|
productionSourceMap: false, |
|
|
|
|
chainWebpack: (config) => { |
|
|
|
|
@ -38,7 +38,18 @@ module.exports = { |
|
|
|
|
'/smartpark': { |
|
|
|
|
//本地服务接口地址
|
|
|
|
|
// target: 'http://192.168.1.4:8088',
|
|
|
|
|
target: 'http://192.168.0.120:8081', |
|
|
|
|
target: 'http://atcflight.com:10094/6583e0b6-a422-4c74-aa40-df48e059b4de/lowDurableWebTestFront/smartpark', |
|
|
|
|
//远程演示服务地址,可用于直接启动项目
|
|
|
|
|
// target: 'https://saber.bladex.cn/api',
|
|
|
|
|
ws: true, |
|
|
|
|
pathRewrite: { |
|
|
|
|
'^/smartpark/': '/' |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
'/smartparkAPP': { |
|
|
|
|
//本地服务接口地址
|
|
|
|
|
// target: 'http://192.168.1.4:8088',
|
|
|
|
|
target: 'http://atcflight.com:10094/6583e0b6-a422-4c74-aa40-df48e059b4de/lowDurableTest', |
|
|
|
|
//远程演示服务地址,可用于直接启动项目
|
|
|
|
|
// target: 'https://saber.bladex.cn/api',
|
|
|
|
|
ws: true, |
|
|
|
|
|