mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-15 06:27:34 -07:00
Revert "[Server] Fix bug"
This reverts commit d0f8634865be5ee1aa1c809e9f564f7aa1201d19.
This commit is contained in:
parent
ba14a1cb4a
commit
4bc0d9c9fc
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,6 @@ 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']
|
||||
|
@ -62,6 +61,7 @@ app.use((req, res, next) => {
|
|||
next();
|
||||
});
|
||||
|
||||
require('./service/github')(app);
|
||||
require('./service/twitter')(app);
|
||||
|
||||
module.exports = app;
|
||||
|
|
Loading…
Reference in a new issue