diff options
author | Ádám Hóka | 2018-05-31 13:15:41 +0200 |
---|---|---|
committer | Adam Hoka | 2018-06-01 10:07:52 +0200 |
commit | 376fcab2ca8a2908187bedec732fc99e1f1950c0 (patch) | |
tree | e5244e468e0a3e5ae7bcbccb3051d79c3ab4f045 /lib/config/index.js | |
parent | 12ab90020abc8a91f9eb9348ce2748ffa1d29365 (diff) |
Add Azure Blob Storage support
Signed-off-by: Adam Hoka <hoka.adam@nexogen.hu>
Diffstat (limited to '')
-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 bdba5e0e..f10eadb8 100644 --- a/lib/config/index.js +++ b/lib/config/index.js @@ -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' } |