This commit is contained in:
2025-12-06 19:29:34 +08:00
parent fa24a82568
commit 7b99bc0b54
8 changed files with 340 additions and 53 deletions

View File

@@ -14,7 +14,7 @@ let target = process.env.VITE_API_URL || 'http://localhost:51015';
const apiProxy = { target: target, changeOrigin: true, ws: true, rewriteWsOrigin: true, secure: false, cookieDomainRewrite: 'localhost' };
let proxy = {
'/root/': {
target: `${target}/root/`,
target: `${target}`,
},
'/api': apiProxy,
'/client': apiProxy,