diff --git a/app/knexfile.js b/app/knexfile.js index b2cb263a..18fb7f2d 100644 --- a/app/knexfile.js +++ b/app/knexfile.js @@ -1,7 +1,9 @@ // Update with your config settings. -require("dotenv").config({ - path: "../.env", -}); +if (process.env.NODE_ENV !== "production") { + require("dotenv").config({ + path: "../.env", + }); +} module.exports = { development: {