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:
Eric Mc Sween 2024-07-02 11:39:31 -04:00 committed by Copybot
parent f0c67b45c7
commit 9e5223ac6b

View file

@ -34,7 +34,7 @@ Metrics.leaked_sockets.monitor(logger)
// 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
// text content in changes.
app.use(bodyParser.json({ limit: '4MB' }))
app.use(bodyParser.json({ limit: '6MB' }))
app.use(
bodyParser.urlencoded({
extended: false,