|
|
@ -50,9 +50,9 @@ global.syzoj = { |
|
|
|
let bodyParser = require('body-parser'); |
|
|
|
let bodyParser = require('body-parser'); |
|
|
|
app.use(bodyParser.urlencoded({ |
|
|
|
app.use(bodyParser.urlencoded({ |
|
|
|
extended: true, |
|
|
|
extended: true, |
|
|
|
limit: '10mb' |
|
|
|
limit: '50mb' |
|
|
|
})); |
|
|
|
})); |
|
|
|
app.use(bodyParser.json()); |
|
|
|
app.use(bodyParser.json({ limit: '50mb' })); |
|
|
|
|
|
|
|
|
|
|
|
// Use cookie parser
|
|
|
|
// Use cookie parser
|
|
|
|
app.use(require('cookie-parser')()); |
|
|
|
app.use(require('cookie-parser')()); |
|
|
|