Add Azure Blob Storage support

Signed-off-by: Adam Hoka <hoka.adam@nexogen.hu>
This commit is contained in:
Ádám Hóka 2018-05-31 13:15:41 +02:00 committed by Adam Hoka
parent 12ab90020a
commit 376fcab2ca
8 changed files with 60 additions and 6 deletions

View file

@ -127,8 +127,8 @@ if (config.sessionSecret === 'secret') {
}
// Validate upload upload providers
if (['filesystem', 's3', 'minio', 'imgur'].indexOf(config.imageUploadType) === -1) {
logger.error('"imageuploadtype" is not correctly set. Please use "filesystem", "s3", "minio" or "imgur". Defaulting to "imgur"')
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'
}