From f676b763ee9447a3142ba68f212e138ce53f70ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E7=90=A6?= Date: Mon, 10 Aug 2026 13:58:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=A7=84=E5=88=99=E5=92=8Cui?= =?UTF-8?q?pro?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web-antd/src/preferences.ts | 1 + apps/web-antd/vite.config.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/web-antd/src/preferences.ts b/apps/web-antd/src/preferences.ts index 75d94e23..45d346e1 100644 --- a/apps/web-antd/src/preferences.ts +++ b/apps/web-antd/src/preferences.ts @@ -25,6 +25,7 @@ export const overridesPreferences = defineOverridesPreferences({ layout: 'sidebar-mixed-nav', // 是否开启检查更新 enableCheckUpdates: true, + defaultHomePath: '/workspace', // 检查更新的时间间隔,单位为分钟 checkUpdatesInterval: 1, enableRefreshToken: false, diff --git a/apps/web-antd/vite.config.ts b/apps/web-antd/vite.config.ts index 9e4e05c2..1457e27b 100644 --- a/apps/web-antd/vite.config.ts +++ b/apps/web-antd/vite.config.ts @@ -12,7 +12,7 @@ export default defineConfig(async () => { rewrite: (path) => path.replace(/^\/api/, ''), // mock代理目标地址 // target: 'http://localhost:5320/api', - target: 'http://127.0.0.1:15002/api/', + target: 'http://127.0.0.1:18006/api/', ws: true, }, },