summaryrefslogtreecommitdiff
path: root/lib/config/index.js
diff options
context:
space:
mode:
authorChristoph (Sheogorath) Kern2018-06-01 12:35:20 +0200
committerGitHub2018-06-01 12:35:20 +0200
commit65544f9a18a2a418cd88d8fc9f8ee227bd4cf03c (patch)
tree229e8c05b308452a6741d5436038a213833c2104 /lib/config/index.js
parentef1097c58dd35a12dbde471c6f33186d72a3916b (diff)
parent376fcab2ca8a2908187bedec732fc99e1f1950c0 (diff)
Merge pull request #675 from ahoka/master
Add Azure Blob Storage support
Diffstat (limited to '')
-rw-r--r--lib/config/index.js4
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'
}