From 2c736fe1849d5dcb1007a8ba20995cb0ea77dfee Mon Sep 17 00:00:00 2001 From: David Baldwynn <1160417+whitef0x0@users.noreply.github.com> Date: Tue, 10 Oct 2017 15:07:24 -0700 Subject: [PATCH] Removed upload config from env/all.js --- config/env/all.js | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/config/env/all.js b/config/env/all.js index 2651bae1..f8d557ae 100755 --- a/config/env/all.js +++ b/config/env/all.js @@ -20,11 +20,9 @@ module.exports = { templateEngine: 'swig', - reCAPTCHA_Key: process.env.reCAPTCHA_KEY || '', - - signupDisabled: (process.env.SIGNUP_DISABLED === 'TRUE'), + signupDisabled: (process.env.SIGNUP_DISABLED === 'TRUE'), enableClusterMode: (process.env.ENABLE_CLUSTER_MODE === 'TRUE'), - baseUrl: '', + baseUrl: process.env.BASE_URL || 'localhost:3000', tempUserCollection: 'temporary_users', subdomainsDisabled: (process.env.SUBDOMAINS_DISABLED === 'TRUE'), @@ -52,17 +50,6 @@ module.exports = { // To set the cookie in a specific domain uncomment the following // setting: }, - - /* - * Upload Configuration - */ - //Global upload path - uploadPath : 'uploads/', - //PDF storage path - pdfUploadPath: 'uploads/pdfs/', - //Temp files storage path - tmpUploadPath: 'uploads/tmp/', - // The session cookie name sessionName: 'connect.sid', log: {