mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge branch 'master' into csh-ho-docker-issue-1338-bulk-upgrade
This commit is contained in:
commit
5dc2df2a70
1 changed files with 2 additions and 2 deletions
|
@ -33,8 +33,8 @@ app.get '/project/:project_id/doc', HttpController.getAllDocs
|
|||
app.get '/project/:project_id/ranges', HttpController.getAllRanges
|
||||
app.get '/project/:project_id/doc/:doc_id', HttpController.getDoc
|
||||
app.get '/project/:project_id/doc/:doc_id/raw', HttpController.getRawDoc
|
||||
# Add 16kb overhead for the JSON encoding
|
||||
app.post '/project/:project_id/doc/:doc_id', bodyParser.json(limit: Settings.max_doc_length + 16 * 1024), HttpController.updateDoc
|
||||
# Add 64kb overhead for the JSON encoding
|
||||
app.post '/project/:project_id/doc/:doc_id', bodyParser.json(limit: Settings.max_doc_length + 64 * 1024), HttpController.updateDoc
|
||||
app.del '/project/:project_id/doc/:doc_id', HttpController.deleteDoc
|
||||
|
||||
app.post '/project/:project_id/archive', HttpController.archiveAllDocs
|
||||
|
|
Loading…
Reference in a new issue