feat: add auth
All checks were successful
Docker Build and Push / build-and-push (push) Successful in 15m8s
All checks were successful
Docker Build and Push / build-and-push (push) Successful in 15m8s
This commit is contained in:
3
app/api/auth/[...all]/route.ts
Normal file
3
app/api/auth/[...all]/route.ts
Normal file
@ -0,0 +1,3 @@
|
||||
import { auth } from "@/lib/auth";
|
||||
import { toNextJsHandler } from "better-auth/next-js";
|
||||
export const { POST, GET } = toNextJsHandler(auth);
|
||||
Reference in New Issue
Block a user