This commit is contained in:
2021-12-21 13:33:40 +08:00
parent de7d9b29b2
commit 896a3be236
14 changed files with 238 additions and 77 deletions

View File

@@ -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': ''
// }
// }
// }
// }
}