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, }, },