mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-26 18:10:51 +00:00
always add archiving root in
This commit is contained in:
parent
42f2afc4dd
commit
9af2c07c3b
1 changed files with 1 additions and 2 deletions
|
@ -21,8 +21,7 @@ app.get '/project/:project_id/doc/:doc_id/raw', HttpController.getRawDoc
|
|||
app.post '/project/:project_id/doc/:doc_id', bodyParser.json(limit: "2mb"), HttpController.updateDoc
|
||||
app.del '/project/:project_id/doc/:doc_id', HttpController.deleteDoc
|
||||
|
||||
if Settings.filestore?.backend == "s3"
|
||||
app.get '/project/:project_id/archive', HttpController.archiveAllDocs
|
||||
app.get '/project/:project_id/archive', HttpController.archiveAllDocs
|
||||
|
||||
app.get '/status', (req, res)->
|
||||
res.send('docstore is alive')
|
||||
|
|
Loading…
Reference in a new issue