ci: 集成: 🎡 添加pathRewrite

This commit is contained in:
bunny 2024-02-28 20:12:21 +08:00
parent dda87ac123
commit 89d21e01d3
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ module.exports = defineConfig({
'/mock': { '/mock': {
target: process.env.VUE_APP_URL, target: process.env.VUE_APP_URL,
changeOrigin: true, changeOrigin: true,
pathRewrite: { '^/api': '/api' }, pathRewrite: { '^/mock': '' },
}, },
}, },
}, },