diff --git a/v1/src/app.js b/v1/src/app.js index eebaac7..832ed0b 100644 --- a/v1/src/app.js +++ b/v1/src/app.js @@ -10,12 +10,12 @@ const dotenv = require('dotenv'); const errorHandler = require('./middlewares/errorHandler'); const notFound = require('./middlewares/notFound'); -let envFile = process.env.NODE_ENV == "production" ? ".env.production" : ".env.development"; +//let envFile = process.env.NODE_ENV == "production" ? ".env.production" : ".env.development"; //Enviroment Variables dotenv.config( { - path: `./config/env/${envFile}` //dotenv config içerisine config dosyamızın path ini verdik + path: `./config/env/.env` //dotenv config içerisine config dosyamızın path ini verdik })