优化本地存储

This commit is contained in:
mayongjian
2025-05-18 12:20:17 +08:00
parent fcfe7dbd9d
commit 7e0fdd130b

View File

@@ -34,6 +34,10 @@ export default defineConfig(({ mode, command }) => {
target: 'http://localhost:8080', target: 'http://localhost:8080',
changeOrigin: true, changeOrigin: true,
rewrite: (p) => p.replace(/^\/dev-api/, '') rewrite: (p) => p.replace(/^\/dev-api/, '')
},
'/profile': {
target: 'http://localhost:8080',
changeOrigin: true
} }
} }
}, },