fix: set better auth baseUrl

This commit is contained in:
Henry
2025-05-06 10:38:35 +01:00
parent 69004df19e
commit 414af74dc1
3 changed files with 41 additions and 28 deletions

View File

@@ -13,6 +13,7 @@ import { createStripeClient } from "@kan/stripe";
const db = createDrizzleClient();
export const auth = betterAuth({
secret: process.env.BETTER_AUTH_SECRET!,
baseURL: process.env.BETTER_AUTH_BASE_URL!,
database: drizzleAdapter(db, {
provider: "pg",
schema: {