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

24 lines
556 B
TypeScript
Raw Normal View History

2025-06-28 21:34:28 +00:00
import { ROUTES_ENUM } from "@/routes/route.constant"
2025-05-06 06:45:49 +00:00
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',
2025-08-11 06:34:44 +00:00
authenticatedEntryPath: ROUTES_ENUM.protected.dashboard,
unAuthenticatedEntryPath: ROUTES_ENUM.authenticated.login,
2025-05-06 06:45:49 +00:00
tourPath: '/',
locale: 'en',
uiVersion : undefined
}
export default appConfig