diff options
author | Christoph (Sheogorath) Kern | 2018-01-23 12:10:33 +0100 |
---|---|---|
committer | GitHub | 2018-01-23 12:10:33 +0100 |
commit | 584f1c524904147df41d642db6303a13c968e6d1 (patch) | |
tree | 07f4cda1da15e214801138ea80581f7ec9e1e94f /public/js/lib | |
parent | e0389bc4cf21da4dac0f42b9f2a6d3cdf5b0d669 (diff) | |
parent | a7935a595a6d482aaefb5a3c9fa0600adf2d2c5b (diff) |
Merge pull request #691 from SISheogorath/feature/upload
Allow more detailed configuration of upload mime types
Diffstat (limited to 'public/js/lib')
-rw-r--r-- | public/js/lib/common/constant.ejs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/public/js/lib/common/constant.ejs b/public/js/lib/common/constant.ejs index e4a1cf0a..c0963635 100644 --- a/public/js/lib/common/constant.ejs +++ b/public/js/lib/common/constant.ejs @@ -3,6 +3,8 @@ window.urlpath = '<%- urlpath %>' window.debug = <%- debug %> window.version = '<%- version %>' +window.allowedUploadMimeTypes = <%- JSON.stringify(allowedUploadMimeTypes) %> + window.GOOGLE_API_KEY = '<%- GOOGLE_API_KEY %>' window.GOOGLE_CLIENT_ID = '<%- GOOGLE_CLIENT_ID %>' -window.DROPBOX_APP_KEY = '<%- DROPBOX_APP_KEY %>'
\ No newline at end of file +window.DROPBOX_APP_KEY = '<%- DROPBOX_APP_KEY %>' |