From ca00a358ae76eeea5ab28901bdd4dad22a43ba41 Mon Sep 17 00:00:00 2001 From: Pablo Aller <69087295+paaauldev@users.noreply.github.com> Date: Mon, 30 Sep 2024 17:15:05 +0200 Subject: [PATCH] docs: Better const name for auth client usage (#47) --- docs/content/docs/installation.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/docs/installation.mdx b/docs/content/docs/installation.mdx index c697c52d3c..cdd9ddf639 100644 --- a/docs/content/docs/installation.mdx +++ b/docs/content/docs/installation.mdx @@ -322,7 +322,7 @@ If you're using a differnt base path other than `/api/auth` make sure to pass th ```ts title="lib/auth-client.ts" import { createAuthClient } from "better-auth/client" - export const client = createAuthClient({ + export const authClient = createAuthClient({ baseURL: "http://localhost:3000" // the base url of your auth server // [!code highlight] }) ```