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 <noreply@anthropic.com>
This commit is contained in:
parent
b738bc7495
commit
3c17f1c74a
1 changed files with 0 additions and 3 deletions
|
|
@ -1,11 +1,8 @@
|
|||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
output: 'export',
|
||||
distDir: 'dist',
|
||||
images: {
|
||||
unoptimized: true,
|
||||
},
|
||||
trailingSlash: true,
|
||||
};
|
||||
|
||||
module.exports = nextConfig;
|
||||
|
|
|
|||
Loading…
Reference in a new issue