1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-12-01 08:18:45 +09:00

Revert "[Server] Fix bug"

This reverts commit d0f8634865.
This commit is contained in:
syuilo 2017-02-12 06:03:04 +09:00
parent 40f05f4ea5
commit a7ac99f142

View File

@ -17,7 +17,6 @@ const app = express();
app.disable('x-powered-by'); app.disable('x-powered-by');
app.set('etag', false); app.set('etag', false);
require('./service/github')(app);
app.use(bodyParser.urlencoded({ extended: true })); app.use(bodyParser.urlencoded({ extended: true }));
app.use(bodyParser.json({ app.use(bodyParser.json({
type: ['application/json', 'text/plain'] type: ['application/json', 'text/plain']
@ -62,6 +61,7 @@ app.use((req, res, next) => {
next(); next();
}); });
require('./service/github')(app);
require('./service/twitter')(app); require('./service/twitter')(app);
module.exports = app; module.exports = app;