Fix: Increase maximum payload to 1mb

This commit is contained in:
NGPixel 2017-05-04 19:06:29 -04:00
parent b3e3973b90
commit fe029ef67d

View File

@ -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