Allow more detailed configuration of upload mime types

Fixes #637

Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
This commit is contained in:
Sheogorath
2018-01-20 15:08:31 +01:00
parent 40d1d75704
commit a7935a595a
4 changed files with 29 additions and 11 deletions

3
app.js
View File

@@ -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) {