Skip to content

Commit 972a81a

Browse files
committed
Upload images to the filesystem by default, rather than to imgur
Signed-off-by: Maxence Ahlouche <[email protected]>
1 parent 4292578 commit 972a81a

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)