diff --git a/config-class.js b/config-class.js index d3498b2f..1d7a40b4 100644 --- a/config-class.js +++ b/config-class.js @@ -1,4 +1,7 @@ -require("dotenv").config(); +const path = require("path"); +require("dotenv").config({ + path: path.join(__dirname, ".env") +}); const { logger } = require("env-var"); const uuid = require("uuid");