From 32a44436ee584c419154d49e35567147fed64d77 Mon Sep 17 00:00:00 2001 From: briandennis Date: Fri, 8 Sep 2017 13:38:14 -0500 Subject: [PATCH] register twitter handler on server --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.js b/server.js index 427c62a..fe8d2f4 100644 --- a/server.js +++ b/server.js @@ -29,7 +29,7 @@ app.prepare() // api endpoints server.post('/upload', bodyParser.json(), wrap(require('./handlers/upload'))) - + server.post('/twitter', bodyParser.json(), require('./handlers/twitter')) server.listen(3000, (err) => { if (err) throw err