yifengyide-h5/vue.config.js
2025-03-20 15:33:00 +08:00

13 lines
174 B
JavaScript

module.exports = {
devServer: {
proxy: {
'/api': {
target: 'http://192.168.10.158/',
changeOrigin: true,
pathRewrite: {
'^/api': ''
}
}
}
}
}