From fee2f2532144fca6c81b1523aeef54165c5263b2 Mon Sep 17 00:00:00 2001
From: hsy <1029150275@qq.com>
Date: 星期二, 25 八月 2026 16:50:38 +0800
Subject: [PATCH] Merge branch 'refs/heads/dev_pro2.0' into fix/hsy/20260812
---
vite.config.ts | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/vite.config.ts b/vite.config.ts
index 7b0c254..b9e690e 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -25,6 +25,7 @@
__APP_NAME__: JSON.stringify(appName),
};
if (!isDev && appApiUrl) {
+ process.env.VITE_GLOB_API_URL = appApiUrl;
defineVars['import.meta.env.VITE_GLOB_API_URL'] = JSON.stringify(appApiUrl);
defineVars['import.meta.env.VITE_BASE_URL'] = JSON.stringify(new URL(appApiUrl).origin);
}
@@ -82,7 +83,7 @@
proxy: {
"/admin-api": {
changeOrigin: true,
- target: "http://192.168.0.10:48080",
+ target: "http://36.213.90.123:9500",
ws: true,
},
},
--
Gitblit v1.9.3