add DEV_MODE support to metadata generation and robots handling; update .gitignore and docker-compose for environment variables
This commit is contained in:
@@ -10,6 +10,14 @@ const nextConfig = {
|
||||
images: {
|
||||
domains: ["back-dev.clinic-pro.ir"],
|
||||
},
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user