Fix dev server 500 error - conditionally apply standalone output for production only
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
output: 'standalone',
|
||||
|
||||
// Only use standalone output in production (causes issues in dev mode)
|
||||
...(process.env.NODE_ENV === 'production' && { output: 'standalone' }),
|
||||
images: {
|
||||
remotePatterns: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user