summaryrefslogtreecommitdiff
path: root/app.js
diff options
context:
space:
mode:
authorSheogorath2018-01-20 15:08:31 +0100
committerSheogorath2018-01-20 15:16:53 +0100
commita7935a595a6d482aaefb5a3c9fa0600adf2d2c5b (patch)
tree15ff230007e15a6d1b08ba1c26b4a161a91252f8 /app.js
parent40d1d757048b1eb51e45d4d29ad987739b478881 (diff)
Allow more detailed configuration of upload mime types
Fixes #637 Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
Diffstat (limited to 'app.js')
-rw-r--r--app.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/app.js b/app.js
index 37e772bc..ee04abd7 100644
--- a/app.js
+++ b/app.js
@@ -34,7 +34,8 @@ var data = {
version: config.version,
GOOGLE_API_KEY: config.google.clientSecret,
GOOGLE_CLIENT_ID: config.google.clientID,
- DROPBOX_APP_KEY: config.dropbox.appKey
+ DROPBOX_APP_KEY: config.dropbox.appKey,
+ allowedUploadMimeTypes: config.allowedUploadMimeTypes
}
ejs.renderFile(constpath, data, {}, function (err, str) {