diff --git a/.env.example b/.env.example index 35f0ff2..260481f 100644 --- a/.env.example +++ b/.env.example @@ -18,6 +18,7 @@ TWILIO_AUTH_TOKEN=your_auth_token TWILIO_WHATSAPP_FROM=whatsapp:+14155238886 # NextAuth +# In production, these will be injected by deployment platform (Coolify, Vercel, etc.) NEXTAUTH_URL=http://localhost:3000 NEXTAUTH_SECRET=your-nextauth-secret @@ -25,6 +26,7 @@ NEXTAUTH_SECRET=your-nextauth-secret RESEND_API_KEY=re_xxxxxxxxxxxxxxxxxxxxxxxxxxxx # App +# In production, these will be injected by deployment platform (Coolify, Vercel, etc.) NEXT_PUBLIC_APP_URL=http://localhost:3000 # Formbricks (Surveys - Optional) diff --git a/next.config.js b/next.config.js index a5e584b..b23a516 100644 --- a/next.config.js +++ b/next.config.js @@ -22,7 +22,7 @@ const nextConfig = { NEXT_PUBLIC_SUPABASE_ANON_KEY: process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY, }, compiler: { - removeConsole: process.env.NODE_ENV === 'production', + removeConsole: false, // Temporarily enable logs for debugging 500 errors }, }