summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxence Ahlouche2018-07-09 20:27:15 +0200
committerMaxence Ahlouche2018-07-09 20:31:14 +0200
commit972a81aa6fb2fb3883f7877c9c141cb68b50b871 (patch)
tree6baee855bf2f10c8bdf1535865b65e5df55458a4
parent429257880b4ecfdfb9c07601a6baa1beb84a0adc (diff)
Upload images to the filesystem by default, rather than to imgur
Signed-off-by: Maxence Ahlouche <maxence.ahlouche@gmail.com>
-rw-r--r--lib/config/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/config/index.js b/lib/config/index.js
index 8705b10b..ac03fcd4 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