mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
increase bodyparser limit to 64kb
16kb is not enough for bibtex files with more escaping.
This commit is contained in:
parent
a828298856
commit
7da8a926bb
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ Modules.loadViewIncludes app
|
||||||
|
|
||||||
app.use bodyParser.urlencoded({ extended: true, limit: "2mb"})
|
app.use bodyParser.urlencoded({ extended: true, limit: "2mb"})
|
||||||
# Make sure we can process the max doc length plus some overhead for JSON encoding
|
# Make sure we can process the max doc length plus some overhead for JSON encoding
|
||||||
app.use bodyParser.json({limit: Settings.max_doc_length + 16 * 1024}) # 16kb overhead
|
app.use bodyParser.json({limit: Settings.max_doc_length + 64 * 1024}) # 64kb overhead
|
||||||
app.use multer(dest: Settings.path.uploadFolder)
|
app.use multer(dest: Settings.path.uploadFolder)
|
||||||
app.use methodOverride()
|
app.use methodOverride()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue