Production Deployment Fixes and Enhancements #3

Merged
ilia merged 38 commits from dev into main 2026-01-04 16:37:35 -05:00
2 changed files with 2 additions and 0 deletions
Showing only changes of commit 888ffef8e3 - Show all commits

View File

@ -4,6 +4,7 @@ DATABASE_URL="postgresql://user:password@localhost:5432/mirrormatch?schema=publi
# NextAuth
NEXTAUTH_URL="http://localhost:3000"
NEXTAUTH_SECRET="your-secret-key-here-generate-with-openssl-rand-base64-32"
AUTH_TRUST_HOST=true
# Email Configuration (for production)
SMTP_HOST="smtp.example.com"

View File

@ -9,6 +9,7 @@ if (!nextAuthSecret) {
}
export const { handlers, auth, signIn, signOut } = NextAuth({
trustHost: true,
providers: [
Credentials({
name: "Credentials",