This commit is contained in:
2025-12-29 01:34:19 +08:00
parent 91409861b9
commit 9f580a7709
4 changed files with 9 additions and 11 deletions

View File

@@ -10,7 +10,7 @@ import dotenv from 'dotenv';
dotenv.config();
const isDev = process.env.NODE_ENV === 'development';
let target = process.env.VITE_API_URL || 'http://localhost:51015';
let target = process.env.VITE_API_URL || 'http://localhost:51515';
const apiProxy = { target: target, changeOrigin: true, ws: true, rewriteWsOrigin: true, secure: false, cookieDomainRewrite: 'localhost' };
let proxy = {
'/root/': apiProxy,