From 6cf4f19317703d2bba16f63be2e552eaeba2a79d Mon Sep 17 00:00:00 2001 From: Scott Nonnenberg Date: Mon, 15 Apr 2019 17:12:57 -0700 Subject: [PATCH] Add a new env variable to the hardening list --- app/config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/config.js b/app/config.js index b5ef81500..49423916e 100644 --- a/app/config.js +++ b/app/config.js @@ -23,6 +23,7 @@ if (environment === 'production') { process.env.NODE_APP_INSTANCE = ''; process.env.ALLOW_CONFIG_MUTATIONS = ''; process.env.SUPPRESS_NO_CONFIG_WARNING = ''; + process.env.NODE_TLS_REJECT_UNAUTHORIZED = ''; } // We load config after we've made our modifications to NODE_ENV