From a7935a595a6d482aaefb5a3c9fa0600adf2d2c5b Mon Sep 17 00:00:00 2001 From: Sheogorath Date: Sat, 20 Jan 2018 15:08:31 +0100 Subject: Allow more detailed configuration of upload mime types Fixes #637 Signed-off-by: Sheogorath --- public/js/lib/common/constant.ejs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'public/js') 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 %>' -- cgit v1.2.3