Skip to content

Conversation

@productdevbook
Copy link
Owner

cc: #8

export as function now.

// server/my-auth.better-auth.ts
import type { BetterAuthOptions } from 'better-auth'

export default () => ({
  // Custom server-side auth configuration
} satisfies BetterAuthOptions)

- Updated various dependencies in pnpm-workspace.yaml to their latest versions, including @nuxt packages, better-auth, and tailwindcss.
- Refactored better-auth configuration in module.ts to call config functions correctly.
- Changed server export in server.ts to use an arrow function for better compatibility.
- Enhanced useAuth function in useAuth.ts to initialize _auth only once and ensure proper function calls for configs.
@productdevbook productdevbook merged commit 1bf93d5 into main May 16, 2025
2 checks passed
@productdevbook productdevbook deleted the fix-cloudflare branch May 16, 2025 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants