feat: add better auth sqlite runtime and server-side session flow
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import { toNextJsHandler } from "better-auth/next-js";
|
||||
import { auth } from "@/server/auth/auth";
|
||||
|
||||
export const runtime = "nodejs";
|
||||
|
||||
export const { GET, POST } = toNextJsHandler(auth);
|
||||
|
||||
Reference in New Issue
Block a user