Merge pull request #896 from maahl/default_img_upload_type

Upload images to the filesystem by default, rather than to imgur
This commit is contained in:
Christoph (Sheogorath) Kern 2018-07-27 13:03:32 +02:00 committed by GitHub
commit 262974dd3d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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