This commit is contained in:
2026-01-03 20:19:35 +08:00
parent 7996896530
commit bf5f57bc60
5 changed files with 51 additions and 36 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,