summaryrefslogtreecommitdiff
path: root/lib/response.js
diff options
context:
space:
mode:
authorCheng-Han, Wu2016-05-21 22:48:00 +0800
committerCheng-Han, Wu2016-05-21 22:48:00 +0800
commit6405bb505695a5592efe8aa8d5bde9e723fadfc0 (patch)
tree882c74f212d4892ae0013d5ab394404f096b693b /lib/response.js
parent900141daff05feeeaae5f537d2f53862b7200651 (diff)
Add support of google signin
Diffstat (limited to '')
-rw-r--r--lib/response.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/response.js b/lib/response.js
index 9c710751..062bc5db 100644
--- a/lib/response.js
+++ b/lib/response.js
@@ -96,7 +96,8 @@ function showIndex(req, res, next) {
twitter: config.twitter,
github: config.github,
gitlab: config.gitlab,
- dropbox: config.dropbox
+ dropbox: config.dropbox,
+ google: config.google
});
res.write(content);
res.end();
@@ -127,7 +128,8 @@ function responseHackMD(res, note) {
twitter: config.twitter,
github: config.github,
gitlab: config.gitlab,
- dropbox: config.dropbox
+ dropbox: config.dropbox,
+ google: config.google
});
var buf = html;
res.writeHead(200, {