mirror of
https://github.com/marcogll/AnchorOS.git
synced 2026-03-15 09:24:22 +00:00
Temp: Enable console logs in production for debugging
- Disable removeConsole in production config - This will help reveal the root cause of API 500 errors - Will revert after issue is resolved
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user