34 lines
713 B
JavaScript
34 lines
713 B
JavaScript
// next.config.js
|
|
const nextConfig = {
|
|
output: "standalone",
|
|
// Add other configurations below
|
|
reactStrictMode: true,
|
|
swcMinify: true,
|
|
experimental: {
|
|
missingSuspenseWithCSRBailout: false,
|
|
},
|
|
images: {
|
|
unoptimized: true,
|
|
remotePatterns: [
|
|
{
|
|
protocol: 'https',
|
|
hostname: 'back-dev.clinic-pro.ir',
|
|
},
|
|
{
|
|
protocol: 'https',
|
|
hostname: 'clinic-pro-back.ddev.site',
|
|
},
|
|
],
|
|
},
|
|
env: {
|
|
// Make DEV_MODE available to the application
|
|
DEV_MODE: process.env.DEV_MODE,
|
|
},
|
|
// Additional configuration for better Docker support
|
|
trailingSlash: false,
|
|
compress: true,
|
|
poweredByHeader: false,
|
|
};
|
|
|
|
module.exports = nextConfig;
|