summaryrefslogtreecommitdiff
path: root/public/js/lib/common
diff options
context:
space:
mode:
authorSheogorath2018-05-16 01:19:44 +0200
committerSheogorath2018-05-16 01:34:55 +0200
commitad69c5017b28f333bb5ed9a3ee20d95c92d7c046 (patch)
tree17b380f2a2a137c10b3248f79415de7d794579a5 /public/js/lib/common
parentb8e7c4b97a2a8369c9f1989352dec65867d838ac (diff)
Removing google drive integration
It's sad but it's not working. For multiple releases this should be already broken which shows how often it's used. As there is also a security issue related to that, it's better to remove the feature completely. Whoever wants to rewrite it, feel free to go. This commit removes the Google Drive integration from HackMD's Frontend editor and this way removes the need to provide any API key and Client ID in the frontend. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
Diffstat (limited to 'public/js/lib/common')
-rw-r--r--public/js/lib/common/constant.ejs2
1 files changed, 0 insertions, 2 deletions
diff --git a/public/js/lib/common/constant.ejs b/public/js/lib/common/constant.ejs
index c0963635..a94b815e 100644
--- a/public/js/lib/common/constant.ejs
+++ b/public/js/lib/common/constant.ejs
@@ -5,6 +5,4 @@ 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 %>'