Supported export to gist

This commit is contained in:
Cheng-Han, Wu 2016-01-31 15:42:26 -06:00
parent 0f87fd4493
commit ff2fc76491
5 changed files with 145 additions and 2 deletions

2
app.js
View file

@ -244,6 +244,8 @@ app.get('/auth/github/callback',
function (req, res) {
res.redirect('/');
});
//github callback actions
app.get('/auth/github/callback/:noteId/:action', response.githubActions);
//dropbox auth
app.get('/auth/dropbox',
passport.authenticate('dropbox-oauth2'),