feat: add better auth sqlite runtime and server-side session flow

This commit is contained in:
Poyraz
2026-07-10 22:07:37 +03:00
parent 3504a02229
commit 57aab2932e
41 changed files with 4907 additions and 143 deletions
+7
View File
@@ -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);