fix: set baseURL for production deploy

This commit is contained in:
Vasily Zubarev
2025-04-03 17:10:26 +02:00
parent 78ed69e6ab
commit bfac59133b
4 changed files with 39 additions and 0 deletions

View File

@@ -21,6 +21,7 @@ export type UserProfile = {
export const auth = betterAuth({
database: prismaAdapter(prisma, { provider: "postgresql" }),
appName: config.app.title,
baseURL: config.app.baseURL,
secret: config.auth.secret,
email: {
provider: "resend",