mirror of
https://github.com/marcogll/AnchorOS.git
synced 2026-03-15 11:24:26 +00:00
- Remove Next.js env block to prevent build errors - NEXT_PUBLIC_* variables are automatically injected by Coolify at runtime - Fixes: env.NEXT_PUBLIC_SUPABASE_URL is missing error
27 lines
642 B
JavaScript
27 lines
642 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
|