Files
better-auth/demo/nextjs/lib/client.ts
Bereket Engida c945d1ba95 feat: demo
2024-09-16 13:53:41 +03:00

7 lines
185 B
TypeScript

import { createClient } from "better-call/client";
import { router } from "./router";
export const client = createClient<typeof router>({
baseURL: "http://localhost:3000/api/v1",
});