diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index aafc60f0385d560ce76e6056844aadc8e89d9c0b..45787298255ff2b79611b7dbf40fa6bcf76f639c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -25,6 +25,8 @@ sonarqube: build_development: stage: build + tags: + - build only: - development script: @@ -37,6 +39,8 @@ build_development: build_release: stage: build + tags: + - build only: - tags script: diff --git a/package.json b/package.json index 03304e211c3867fa5baa3acdced96a729c2c07b4..fa65b9b7f5fffb1d4f2daf8417b8399ee10e961c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "query-proxy", - "version": "2.0.0", + "version": "2.1.0", "description": "", "main": "index.js", "scripts": { diff --git a/routes/download.routes.js b/routes/download.routes.js index c3993a8453091494076765833fa940c645c318c4..c0e304f5909cd5899816d1f5ebed101915249f60 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