Files
drive/packages/convex/betterauth/auth.ts
kenneth bf2087cded refactor: migrate betterauth to local install
also added a login page

Co-authored-by: Ona <no-reply@ona.com>
2025-10-05 23:25:20 +00:00

5 lines
201 B
TypeScript

import { createAuth } from '../auth'
import { getStaticAuth } from '@convex-dev/better-auth'
// Export a static instance for Better Auth schema generation
export const auth = getStaticAuth(createAuth)