6 lines
208 B
TypeScript
6 lines
208 B
TypeScript
import { client } from './client/client.gen'
|
|
|
|
export const API_BASE_URL: string = import.meta.env.VITE_API_BASE_URL ?? 'http://localhost:9810'
|
|
|
|
client.setConfig({ baseUrl: API_BASE_URL, throwOnError: true })
|