always add archiving root in

This commit is contained in:
Henry Oswald 2015-08-13 12:59:04 +01:00
parent 42f2afc4dd
commit 9af2c07c3b

View file

@ -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')