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/default.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/config/default.js') diff --git a/lib/config/default.js b/lib/config/default.js index 28f4490c..38dc21a4 100644 --- a/lib/config/default.js +++ b/lib/config/default.js @@ -53,7 +53,9 @@ module.exports = { // document documentmaxlength: 100000, // image upload setting, available options are imgur/s3/filesystem - imageUploadType: 'filesystem', + imageuploadtype: 'filesystem', + // legacy variable name for imageuploadtype + imageUploadType: undefined, imgur: { clientID: undefined }, -- cgit v1.2.3