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:
Marco Gallegos
2026-01-18 15:36:57 -06:00
parent 4a0dc0be0a
commit 70437e90c2
2 changed files with 3 additions and 1 deletions

View File

@@ -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
},
}