23 lines
544 B
TypeScript
23 lines
544 B
TypeScript
import { ROUTES_ENUM } from "@/routes/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: ROUTES_ENUM.protected.home,
|
|
unAuthenticatedEntryPath: ROUTES_ENUM.public.login,
|
|
tourPath: '/',
|
|
locale: 'en',
|
|
uiVersion : undefined
|
|
}
|
|
|
|
export default appConfig
|