施工图单页面添加
This commit is contained in:
@@ -9,8 +9,17 @@ module.exports = {
|
||||
}
|
||||
}
|
||||
},
|
||||
// devServer: {
|
||||
// proxy: "http://localhost:42127"
|
||||
// },
|
||||
devServer: {
|
||||
proxy: "http://localhost:42127"
|
||||
proxy: {
|
||||
'/api2': {
|
||||
target: 'http://10.19.94.51:11684',
|
||||
changeOrigin: true,
|
||||
pathRewrite: { '^/api2': '' }
|
||||
}
|
||||
}
|
||||
},
|
||||
chainWebpack: config => {
|
||||
config.module
|
||||
|
||||
Reference in New Issue
Block a user