From 843908dab2f6e5a0d1677ad0270249c65766cb17 Mon Sep 17 00:00:00 2001 From: Wyatt Johnson Date: Thu, 4 Jan 2018 10:52:15 -0700 Subject: [PATCH] changed beheviour of dotenv parsing --- config.js | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/config.js b/config.js index f9bf97740..ad51465a7 100644 --- a/config.js +++ b/config.js @@ -7,12 +7,9 @@ // entrypoint for the entire applications configuration. require('env-rewrite').rewrite(); -if (process.env.NODE_ENV === 'development') { - - // Apply all the configuration provided in the .env file if it isn't already - // in the environment. - require('dotenv').config(); -} +// Apply all the configuration provided in the .env file if it isn't already +// in the environment. +require('dotenv').config(); const uniq = require('lodash/uniq'); const ms = require('ms');