mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-22 19:25:18 -04:00
Merge pull request #691 from SISheogorath/feature/upload
Allow more detailed configuration of upload mime types
This commit is contained in:
commit
584f1c5249
4 changed files with 29 additions and 11 deletions
3
app.js
3
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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue