Skip to content

Commit 262974d

Browse files
authored
Merge pull request #896 from maahl/default_img_upload_type
Upload images to the filesystem by default, rather than to imgur
2 parents d327bed + 972a81a commit 262974d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/config/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ if (config.sessionSecret === 'secret') {
139139
// Validate upload upload providers
140140
if (['filesystem', 's3', 'minio', 'imgur', 'azure'].indexOf(config.imageUploadType) === -1) {
141141
logger.error('"imageuploadtype" is not correctly set. Please use "filesystem", "s3", "minio", "azure" or "imgur". Defaulting to "imgur"')
142-
config.imageUploadType = 'imgur'
142+
config.imageUploadType = 'filesystem'
143143
}
144144

145145
// figure out mime types for image uploads

0 commit comments

Comments
 (0)