Fix: Increase maximum payload to 1mb

pull/98/head
NGPixel 8 years ago
parent b3e3973b90
commit fe029ef67d

@ -143,8 +143,8 @@ app.use(i18nextMw.handle(lang))
app.set('views', path.join(SERVERPATH, 'views'))
app.set('view engine', 'pug')
app.use(bodyParser.json())
app.use(bodyParser.urlencoded({ extended: false }))
app.use(bodyParser.json({ limit: '1mb' }))
app.use(bodyParser.urlencoded({ extended: false, limit: '1mb' }))
// ----------------------------------------
// View accessible data

Loading…
Cancel
Save