Commit fe029ef6 authored by NGPixel's avatar NGPixel

Fix: Increase maximum payload to 1mb

parent b3e3973b
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment