Better-auth configuration

This commit is contained in:
Jorge Vargas 2025-02-10 22:35:06 -06:00
parent a02da83781
commit 5d04693a09
9 changed files with 62 additions and 144 deletions

View file

@ -0,0 +1,6 @@
import { auth } from 'auth'
import type { APIRoute } from 'astro'
export const ALL: APIRoute = async (ctx) => {
return auth.handler(ctx.request)
}