Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion static/auth-client.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
// TODO: we need a bundler, so we can re-use what we have in node_modules already
import { createAuthClient } from "https://esm.sh/better-auth@latest/client";
// Pinned to the server's better-auth version: the browser client must match
// what the server runs. Update this pin whenever package-lock.json bumps
// better-auth. No bundler yet — see TODO above.
import { createAuthClient } from "https://esm.sh/better-auth@1.7.6/client";

export const authClient = createAuthClient({
baseURL: window.location.origin,
Expand Down
Loading