From d0f8634865be5ee1aa1c809e9f564f7aa1201d19 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 12 Feb 2017 05:09:33 +0900 Subject: [PATCH] [Server] Fix bug --- src/api/server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/server.ts b/src/api/server.ts index 390032f9a4..976741ff7a 100644 --- a/src/api/server.ts +++ b/src/api/server.ts @@ -17,6 +17,7 @@ const app = express(); app.disable('x-powered-by'); app.set('etag', false); +require('./service/github')(app); app.use(bodyParser.urlencoded({ extended: true })); app.use(bodyParser.json({ type: ['application/json', 'text/plain'] @@ -61,7 +62,6 @@ app.use((req, res, next) => { next(); }); -require('./service/github')(app); require('./service/twitter')(app); module.exports = app;