mirror of
https://github.com/jorgev259/soc_site-astro.git
synced 2025-06-29 07:57:41 +00:00
Better-auth configuration
This commit is contained in:
parent
a02da83781
commit
5d04693a09
9 changed files with 62 additions and 144 deletions
6
src/pages/api/auth/[...all].ts
Normal file
6
src/pages/api/auth/[...all].ts
Normal 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)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue