From 2529628bb3f9923612f0ff49111709a4ad63ee6a Mon Sep 17 00:00:00 2001
From: Fabien Forestier <fforestier@MacBookAir.local>
Date: Thu, 18 Jun 2020 11:49:38 +0200
Subject: [PATCH] Add '/download/actes' endpoints

---
 routes/download.routes.js | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/routes/download.routes.js b/routes/download.routes.js
index c3993a8..c0e304f 100644
--- a/routes/download.routes.js
+++ b/routes/download.routes.js
@@ -109,4 +109,17 @@ router.get('/catalogue*', async (req, res) => {
   }
 });
 
+router.get('/actes*', async (req, res) => {
+
+  try {
+  
+    req.app.locals.proxies.unauthenticated.web(req, res, {});
+
+  } catch (err) {
+    printError(`/actes`, err);
+    res.status(err.status).send(err);
+    return;
+  }
+});
+
 module.exports = router;
\ No newline at end of file
-- 
GitLab