mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-09 12:27:43 +00:00
feat: demo
This commit is contained in:
12
demo/nextjs/app/api/v1/[...all]/route.ts
Normal file
12
demo/nextjs/app/api/v1/[...all]/route.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { router } from "@/lib/router";
|
||||
|
||||
|
||||
export const handler = router.handler
|
||||
|
||||
export {
|
||||
handler as GET,
|
||||
handler as POST,
|
||||
handler as PUT,
|
||||
handler as DELETE,
|
||||
handler as PATCH,
|
||||
}
|
||||
Reference in New Issue
Block a user