Skip to content

Commit 492d38b

Browse files
committed
Add lutim in image upload providers validator
Signed-off-by: Dylan Dervaux <dylanderv05@gmail.com>
1 parent 8557133 commit 492d38b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/config/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,8 @@ if (config.sessionSecret === 'secret') {
164164
}
165165

166166
// Validate upload upload providers
167-
if (['filesystem', 's3', 'minio', 'imgur', 'azure'].indexOf(config.imageUploadType) === -1) {
168-
logger.error('"imageuploadtype" is not correctly set. Please use "filesystem", "s3", "minio", "azure" or "imgur". Defaulting to "filesystem"')
167+
if (['filesystem', 's3', 'minio', 'imgur', 'azure', 'lutim'].indexOf(config.imageUploadType) === -1) {
168+
logger.error('"imageuploadtype" is not correctly set. Please use "filesystem", "s3", "minio", "azure", "lutim" or "imgur". Defaulting to "filesystem"')
169169
config.imageUploadType = 'filesystem'
170170
}
171171

0 commit comments

Comments
 (0)