mirror of
https://github.com/Lifeforge-app/lifeforge.git
synced 2026-07-01 08:16:35 +00:00
9 lines
249 B
TypeScript
9 lines
249 B
TypeScript
import { type AppRoutes } from '@server/core/routes/routes.type'
|
|
import { createForgeAPIClient } from 'shared'
|
|
|
|
const forgeAPI = createForgeAPIClient<AppRoutes>(
|
|
import.meta.env.VITE_API_HOST || 'https://localhost:3000'
|
|
)
|
|
|
|
export default forgeAPI
|