This commit is contained in:
2025-12-27 10:20:06 +08:00
parent ad2d73a61b
commit 3ca2820516
10 changed files with 1448 additions and 45 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,