chore: deps

This commit is contained in:
xingyu4j
2025-11-11 13:39:37 +08:00
parent 488a9ecbde
commit 26918cd56d
7 changed files with 71 additions and 11 deletions

View File

@@ -6,11 +6,11 @@ export default defineConfig(async () => {
vite: {
server: {
proxy: {
'/api': {
'/admin-api': {
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, ''),
rewrite: (path) => path.replace(/^\/admin-api/, ''),
// mock代理目标地址
target: 'http://localhost:5320/api',
target: 'http://localhost:48080/admin-api',
ws: true,
},
},