mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
set body parser limit to 2mb
This commit is contained in:
parent
39df8964cf
commit
9028bcf830
1 changed files with 2 additions and 2 deletions
|
@ -57,8 +57,8 @@ Modules.loadViewIncludes app
|
|||
|
||||
|
||||
|
||||
app.use bodyParser.urlencoded({ extended: true })
|
||||
app.use bodyParser.json()
|
||||
app.use bodyParser.urlencoded({ extended: true, limit: "2mb"})
|
||||
app.use bodyParser.json({limit: "2mb"})
|
||||
app.use multer(dest: Settings.path.uploadFolder)
|
||||
app.use methodOverride()
|
||||
|
||||
|
|
Loading…
Reference in a new issue