mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-10 11:23:09 +02:00
[Server] Fix bug
This commit is contained in:
parent
c1df48517f
commit
d0f8634865
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue