mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #19191 from overleaf/em-history-body-limit
Increase the request body limit for history GitOrigin-RevId: b4b30b005a99ef6a60983333c4babd7ec5caa3f2
This commit is contained in:
parent
f0c67b45c7
commit
9e5223ac6b
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ Metrics.leaked_sockets.monitor(logger)
|
||||||
// We may have fairly large JSON bodies when receiving large Changes. Clients
|
// We may have fairly large JSON bodies when receiving large Changes. Clients
|
||||||
// may have to handle 413 status codes and try creating files instead of sending
|
// may have to handle 413 status codes and try creating files instead of sending
|
||||||
// text content in changes.
|
// text content in changes.
|
||||||
app.use(bodyParser.json({ limit: '4MB' }))
|
app.use(bodyParser.json({ limit: '6MB' }))
|
||||||
app.use(
|
app.use(
|
||||||
bodyParser.urlencoded({
|
bodyParser.urlencoded({
|
||||||
extended: false,
|
extended: false,
|
||||||
|
|
Loading…
Reference in a new issue