Add support of google signin

This commit is contained in:
Cheng-Han, Wu 2016-05-21 22:48:00 +08:00
parent 900141daff
commit 6405bb5056
10 changed files with 47 additions and 8 deletions

View file

@ -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, {