mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-02 03:55:11 -05:00
10 lines
216 B
JavaScript
10 lines
216 B
JavaScript
|
'use strict'
|
||
|
|
||
|
const bodyParser = require('body-parser')
|
||
|
|
||
|
// create application/x-www-form-urlencoded parser
|
||
|
exports.urlencodedParser = bodyParser.urlencoded({
|
||
|
extended: false,
|
||
|
limit: 1024 * 1024 * 10 // 10 mb
|
||
|
})
|