server: {
host: '0.0.0.0',
port: 3000,
open: true,
proxy: {
'/api': {
target: modeConfig[mode][appCode],
changeOrigin: true,
rewrite: (path) => path.replace(new RegExp('^' + '/api'), '')
}
}
}
9***@qq.com
- 发布:2024-08-23 14:29
- 更新:2024-08-23 14:29
- 阅读:125
0 个回复