Browse Source

Change body size limit to 50M

master
Menci 8 years ago
parent
commit
f572a5900f
  1. 4
      app.js

4
app.js

@ -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')());

Loading…
Cancel
Save