summaryrefslogtreecommitdiff
path: root/app.js
diff options
context:
space:
mode:
authorSheogorath2018-05-16 01:19:44 +0200
committerSheogorath2018-05-16 01:34:55 +0200
commitad69c5017b28f333bb5ed9a3ee20d95c92d7c046 (patch)
tree17b380f2a2a137c10b3248f79415de7d794579a5 /app.js
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 'app.js')
-rw-r--r--app.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/app.js b/app.js
index fcf905d5..8f9300f2 100644
--- a/app.js
+++ b/app.js
@@ -33,8 +33,6 @@ var data = {
urlpath: config.urlPath,
debug: config.debug,
version: config.version,
- GOOGLE_API_KEY: config.google.clientSecret,
- GOOGLE_CLIENT_ID: config.google.clientID,
DROPBOX_APP_KEY: config.dropbox.appKey,
allowedUploadMimeTypes: config.allowedUploadMimeTypes
}