mirror of
http://36.133.248.69:3088/admin/RentWeAppFront.git
synced 2026-03-07 17:32:25 +08:00
29 lines
507 B
JavaScript
29 lines
507 B
JavaScript
//配置后端路径请修改config.js
|
|
module.exports = {
|
|
publicPath: './',
|
|
devServer: {
|
|
proxy: {
|
|
'/api': {
|
|
target: 'http://localhost:8089',
|
|
changeOrigin: true,
|
|
pathRewrite: {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// module.exports = {
|
|
// publicPath: './',
|
|
// devServer: {
|
|
// proxy: {
|
|
// '/api': {
|
|
// target: 'https://sourcebyte.vip',
|
|
// changeOrigin: true,
|
|
// pathRewrite: {
|
|
// '^/api': '/api'
|
|
// }
|
|
// }
|
|
// }
|
|
// }
|
|
// }
|