erp-platform/ui/src/configs/app.config.ts

24 lines
529 B
TypeScript
Raw Normal View History

2025-05-06 06:45:49 +00:00
import { ROUTES_ENUM } from '@/constants/route.constant'
export type AppConfig = {
baseUrl: string
apiPrefix: string
authenticatedEntryPath: string
unAuthenticatedEntryPath: string
tourPath: string
locale: string
uiVersion: string | undefined
}
const appConfig: AppConfig = {
baseUrl: import.meta.env.VITE_API_URL,
apiPrefix: '/api',
authenticatedEntryPath: '/home',
unAuthenticatedEntryPath: ROUTES_ENUM.account.login,
tourPath: '/',
locale: 'en',
uiVersion : undefined
}
export default appConfig