summaryrefslogtreecommitdiff
path: root/app.js
diff options
context:
space:
mode:
authorChristoph (Sheogorath) Kern2018-01-23 12:10:33 +0100
committerGitHub2018-01-23 12:10:33 +0100
commit584f1c524904147df41d642db6303a13c968e6d1 (patch)
tree07f4cda1da15e214801138ea80581f7ec9e1e94f /app.js
parente0389bc4cf21da4dac0f42b9f2a6d3cdf5b0d669 (diff)
parenta7935a595a6d482aaefb5a3c9fa0600adf2d2c5b (diff)
Merge pull request #691 from SISheogorath/feature/upload
Allow more detailed configuration of upload mime types
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 2183b149..b7d493e0 100644
--- a/app.js
+++ b/app.js
@@ -35,7 +35,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) {