From 5c834e269bfff00b92ee63862cbbc7165743de9e Mon Sep 17 00:00:00 2001 From: "Alex Pooley (@zuedev)" Date: Wed, 13 May 2026 16:36:35 +0100 Subject: add better-auth --- communities/red-right-hand/174bg.net/src/lib/auth-client.js | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 communities/red-right-hand/174bg.net/src/lib/auth-client.js (limited to 'communities/red-right-hand/174bg.net/src/lib/auth-client.js') diff --git a/communities/red-right-hand/174bg.net/src/lib/auth-client.js b/communities/red-right-hand/174bg.net/src/lib/auth-client.js new file mode 100644 index 0000000..fd0a091 --- /dev/null +++ b/communities/red-right-hand/174bg.net/src/lib/auth-client.js @@ -0,0 +1,6 @@ +import { createAuthClient } from "better-auth/react"; + +export const authClient = createAuthClient({ + /** The base URL of the server (optional if you're using the same domain) */ + baseURL: process.env.BETTER_AUTH_URL, +}); -- cgit v1.2.3