From bd92010dd2e16d6fd87012ebd17fde0e9c01c4f6 Mon Sep 17 00:00:00 2001 From: Sheogorath Date: Fri, 26 Jan 2018 14:00:48 +0100 Subject: Remove camel case from `imageuploadtype` in config This removes the only camel cased option of the config options **we** added to the config.json. In auth provider's config parts are a lot of camel cased options provided. We shouldn't touch them to keep them as similar as possible to the examples. Fixes #315 Signed-off-by: Sheogorath --- lib/config/environment.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/config/environment.js') diff --git a/lib/config/environment.js b/lib/config/environment.js index e2112b6a..640f9e07 100644 --- a/lib/config/environment.js +++ b/lib/config/environment.js @@ -25,7 +25,7 @@ module.exports = { allowfreeurl: toBooleanConfig(process.env.HMD_ALLOW_FREEURL), defaultpermission: process.env.HMD_DEFAULT_PERMISSION, dburl: process.env.HMD_DB_URL, - imageUploadType: process.env.HMD_IMAGE_UPLOAD_TYPE, + imageuploadtype: process.env.HMD_IMAGE_UPLOAD_TYPE, imgur: { clientID: process.env.HMD_IMGUR_CLIENTID }, -- cgit v1.2.3