施工图单页面添加

This commit is contained in:
Panwei
2024-12-12 14:38:59 +08:00
parent c4fb63f03f
commit c649d32668
2 changed files with 536 additions and 2 deletions

View File

@@ -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