diff --git a/client/src/services/FetchClient.ts b/client/src/services/FetchClient.ts new file mode 100644 index 000000000..58675e817 --- /dev/null +++ b/client/src/services/FetchClient.ts @@ -0,0 +1,8 @@ +import createClient from "openapi-fetch" +import type { paths } from "models/__generated__/schema" + +const fetchClient = createClient({ + baseUrl: process.env.BACKEND_BASE_URL +}) + +export default fetchClient