diff options
author | Christoph (Sheogorath) Kern | 2018-07-27 13:03:32 +0200 |
---|---|---|
committer | GitHub | 2018-07-27 13:03:32 +0200 |
commit | 262974dd3d134dc70b3c5fda3bcd477e69a79bed (patch) | |
tree | 9466a90188e16f5f0625c05836fffa25e2e68080 | |
parent | d327bed65361372760af26354fec189e02b9dd4f (diff) | |
parent | 972a81aa6fb2fb3883f7877c9c141cb68b50b871 (diff) |
Merge pull request #896 from maahl/default_img_upload_type
Upload images to the filesystem by default, rather than to imgur
Diffstat (limited to '')
-rw-r--r-- | lib/config/index.js | 2 |
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 |