Fix: Increase maximum payload to 1mb
This commit is contained in:
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…
Reference in New Issue
Block a user