Add Slack oauth trigger

This commit is contained in:
Jonathan Cremin 2018-04-19 22:35:51 +01:00
parent 815d1a4dcd
commit 95e7eff734
2 changed files with 5 additions and 0 deletions

1
app.js
View file

@ -59,6 +59,7 @@ app.use(route.post('/search', search));
app.use(route.get('/:service/:type/:id.:format?', share));
app.use(route.post('/slack', slack));
app.use(route.get('/slack', slack));
if (!module.parent) {
app.listen(process.env.PORT || 3000, () => {