mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-07 04:19:22 +00:00
feat: demo
This commit is contained in:
6
demo/nextjs/lib/client.ts
Normal file
6
demo/nextjs/lib/client.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import { createClient } from "better-call/client";
|
||||
import { router } from "./router";
|
||||
|
||||
export const client = createClient<typeof router>({
|
||||
baseURL: "http://localhost:3000/api/v1",
|
||||
});
|
||||
Reference in New Issue
Block a user