Files
TakeoutSaaS.TenantUI/apps/web-antd/src/preferences.ts
MSuMshk bb4bbfc3fc
All checks were successful
Build and Deploy TenantUI / build-and-deploy (push) Successful in 53s
fix: 修复双Token自动刷新链路
2026-02-26 14:46:52 +08:00

21 lines
585 B
TypeScript

import { defineOverridesPreferences } from '@vben/preferences';
/**
* @description 项目配置文件
* 只需要覆盖项目中的一部分配置,不需要的配置不用覆盖,会自动使用默认配置
* !!! 更改配置后请清空缓存,否则可能不生效
*/
export const overridesPreferences = defineOverridesPreferences({
// overrides
app: {
accessMode: 'backend',
defaultHomePath: '/dashboard/console',
enableRefreshToken: true,
loginExpiredMode: 'modal',
name: import.meta.env.VITE_APP_TITLE,
},
theme: {
mode: 'light',
},
});