This commit is contained in:
2025-04-08 01:28:58 +08:00
parent 8e41c38dde
commit 4a9727dd71
13 changed files with 1657 additions and 12 deletions

View File

@@ -27,19 +27,20 @@ if (isDev) {
} else {
target = 'https://kevisual.cn';
}
target = 'http://localhost:4006';
let proxy = {
'/root/center/': {
target: `https://${target}/root/center/`,
target: `${target}/root/center/`,
},
'/root/system-lib/': {
target: `https://${target}/root/system-lib/`,
target: `${target}/root/system-lib/`,
},
'/user/login/': {
target: `https://${target}/user/login/`,
target: `${target}/user/login/`,
},
'/api': {
target: `https://${target}`,
target: `${target}`,
changeOrigin: true,
ws: true,
rewriteWsOrigin: true,