// next.config.js const nextConfig = { // Add other configurations below reactStrictMode: true, 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;