Skip to content
Snippets Groups Projects
Commit 2529628b authored by Fabien Forestier's avatar Fabien Forestier
Browse files

Add '/download/actes' endpoints

parent f4248002
Branches
Tags
1 merge request!9Development
Pipeline #6024 canceled
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment