diff options
author | Christoph (Sheogorath) Kern | 2019-04-10 11:39:11 +0200 |
---|---|---|
committer | GitHub | 2019-04-10 11:39:11 +0200 |
commit | ef348fc49b01711aaea3c0b68cdd9fa77876c596 (patch) | |
tree | 496225cc71133387b3c6e51b899d9a91d204f420 /lib/config/index.js | |
parent | f541c00bad561672c91bb0249acd8e6ce2f58a9e (diff) | |
parent | 208070d2e776c437154e6ead552364b3956adf1c (diff) |
Merge pull request #33 from codimd/lutim-support
Add support for image hosting with lutim
Diffstat (limited to 'lib/config/index.js')
-rw-r--r-- | lib/config/index.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/config/index.js b/lib/config/index.js index 4c28196e..e102dce9 100644 --- a/lib/config/index.js +++ b/lib/config/index.js @@ -164,8 +164,8 @@ 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 "filesystem"') +if (['filesystem', 's3', 'minio', 'imgur', 'azure', 'lutim'].indexOf(config.imageUploadType) === -1) { + logger.error('"imageuploadtype" is not correctly set. Please use "filesystem", "s3", "minio", "azure", "lutim" or "imgur". Defaulting to "filesystem"') config.imageUploadType = 'filesystem' } |