forked from UzTech/Vue3-typescript-demo
youhua
This commit is contained in:
@@ -21,15 +21,21 @@ module.exports = {
|
||||
javascriptEnabled: true
|
||||
}
|
||||
}
|
||||
},
|
||||
devServer: {
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: 'https://explorer.lianshang.vip/api',
|
||||
pathRewrite: {
|
||||
'^/api': ''
|
||||
}
|
||||
},
|
||||
'/esdb': {
|
||||
target: 'https://explorer.lianshang.vip/esdb',
|
||||
pathRewrite: {
|
||||
'^/esdb': ''
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// devServer: {
|
||||
// proxy: {
|
||||
// '/api': {
|
||||
// target: '',
|
||||
// pathRewrite: {
|
||||
// '^/api': ''
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user