Files
AnchorOS/next.config.js
Marco Gallegos 70437e90c2 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
2026-01-18 15:36:57 -06:00

30 lines
650 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
output: 'standalone',
eslint: {
ignoreDuringBuilds: true,
},
typescript: {
ignoreBuildErrors: true,
},
images: {
domains: ['localhost'],
remotePatterns: [
{
protocol: 'https',
hostname: '**.supabase.co',
},
],
},
env: {
NEXT_PUBLIC_SUPABASE_URL: process.env.NEXT_PUBLIC_SUPABASE_URL,
NEXT_PUBLIC_SUPABASE_ANON_KEY: process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY,
},
compiler: {
removeConsole: false, // Temporarily enable logs for debugging 500 errors
},
}
module.exports = nextConfig