From 972a81aa6fb2fb3883f7877c9c141cb68b50b871 Mon Sep 17 00:00:00 2001 From: Maxence Ahlouche Date: Mon, 9 Jul 2018 20:27:15 +0200 Subject: [PATCH] Upload images to the filesystem by default, rather than to imgur Signed-off-by: Maxence Ahlouche --- lib/config/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/config/index.js b/lib/config/index.js index 8705b10..ac03fcd 100644 --- a/lib/config/index.js +++ b/lib/config/index.js @@ -139,7 +139,7 @@ if (config.sessionSecret === 'secret') { // Validate upload upload providers if (['filesystem', 's3', 'minio', 'imgur', 'azure'].indexOf(config.imageUploadType) === -1) { logger.error('"imageuploadtype" is not correctly set. Please use "filesystem", "s3", "minio", "azure" or "imgur". Defaulting to "imgur"') - config.imageUploadType = 'imgur' + config.imageUploadType = 'filesystem' } // figure out mime types for image uploads