Upgrade all the things.

This commit is contained in:
Jonathan Cremin 2018-04-28 17:55:02 +01:00
parent 95e7eff734
commit 7720653aeb
12 changed files with 728 additions and 784 deletions

3
app.js
View file

@ -16,7 +16,7 @@ import index from './routes/index';
import recent from './routes/recent';
import search from './routes/search';
import share from './routes/share';
import slack from './routes/slack';
import { slack, oauth } from './routes/slack';
import errorHandler from './lib/error-handler';
const debug = debuglog('combine.fm');
@ -60,6 +60,7 @@ app.use(route.get('/:service/:type/:id.:format?', share));
app.use(route.post('/slack', slack));
app.use(route.get('/slack', slack));
app.use(route.get('/oauth', oauth));
if (!module.parent) {
app.listen(process.env.PORT || 3000, () => {