diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/config.js | 4 | ||||
-rw-r--r-- | lib/response.js | 9 |
2 files changed, 4 insertions, 9 deletions
diff --git a/lib/config.js b/lib/config.js index 64d2056a..b85a9666 100644 --- a/lib/config.js +++ b/lib/config.js @@ -61,7 +61,6 @@ var twitter = config.twitter || false; var github = config.github || false; var dropbox = config.dropbox || false; var imgur = config.imgur || false; -var googleDrive = config.googleDrive || false; function getserverurl() { var url = ''; @@ -112,6 +111,5 @@ module.exports = { twitter: twitter, github: github, dropbox: dropbox, - imgur: imgur, - googleDrive: googleDrive, + imgur: imgur }; diff --git a/lib/response.js b/lib/response.js index 9d75561a..994c65fe 100644 --- a/lib/response.js +++ b/lib/response.js @@ -72,8 +72,7 @@ function responseError(res, code, detail, msg) { code: code, detail: detail, msg: msg, - useCDN: config.usecdn, - googleDrive: config.googleDrive, + useCDN: config.usecdn }); res.write(content); res.end(); @@ -95,8 +94,7 @@ function showIndex(req, res, next) { facebook: config.facebook, twitter: config.twitter, github: config.github, - dropbox: config.dropbox, - googleDrive: config.googleDrive, + dropbox: config.dropbox }); res.write(content); res.end(); @@ -126,8 +124,7 @@ function responseHackMD(res, note) { facebook: config.facebook, twitter: config.twitter, github: config.github, - dropbox: config.dropbox, - googleDrive: config.googleDrive, + dropbox: config.dropbox }); var buf = html; res.writeHead(200, { |