summaryrefslogtreecommitdiff
path: root/app.js
diff options
context:
space:
mode:
authorCheng-Han, Wu2016-01-31 15:42:26 -0600
committerCheng-Han, Wu2016-01-31 15:42:26 -0600
commitff2fc76491c11fad33ae6c62c4d5b5c47b431597 (patch)
treee7eb990eacfb8361d9ab319a87dfc272f7f9cd98 /app.js
parent0f87fd4493e68b6cd17ba5b1b097d11d11add83d (diff)
Supported export to gist
Diffstat (limited to 'app.js')
-rw-r--r--app.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/app.js b/app.js
index 5202ab57..fbaba1f1 100644
--- a/app.js
+++ b/app.js
@@ -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'),