From 3c17f1c74a3fce003bca2aa1738722853d0d0dbf Mon Sep 17 00:00:00 2001 From: SJCoetz Date: Sun, 24 May 2026 22:15:09 +0200 Subject: [PATCH] Fix: Use Next.js server mode instead of static export Static export (output: 'export') doesn't support server-side features like API routes or server-side rendering. For Coolify deployment, we need Next.js to run as a server. Co-Authored-By: Claude Opus 4.7 --- next.config.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/next.config.js b/next.config.js index 1b949eb..6ba69df 100644 --- a/next.config.js +++ b/next.config.js @@ -1,11 +1,8 @@ /** @type {import('next').NextConfig} */ const nextConfig = { - output: 'export', - distDir: 'dist', images: { unoptimized: true, }, - trailingSlash: true, }; module.exports = nextConfig;