Skip to content

Commit

Permalink
Merge pull request #28 from IABTechLab/sas-UID2-2452-euid-privacy-link
Browse files Browse the repository at this point in the history
route for privacynotice
  • Loading branch information
ssundahlTTD authored Dec 20, 2023
2 parents b22b528 + b576f9b commit 54ca903
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ docker build --pull --rm -f "Dockerfile_euid" -t euid-tcportal "."
docker run -dp 3000:3000 euid-tcportal
```

You should then be able to visit [localhost:3000](http://localhost:3000/) to see the container running. Replace `Dockerfile_euid` with `Dockerfile_uid` and `euid-tcportal` with `uid2-tcportal` (both commands) to run UID2 instead.
You should then be able to visit [localhost:3000](http://localhost:3000/) to see the container running. Replace `Dockerfile_euid` with `Dockerfile_uid2` and `euid-tcportal` with `uid2-tcportal` (both commands) to run UID2 instead.

If port 3000 is in use and you need to run it on a different port, replace the *first* 3000 in the `docker run` command with the port you want to use (ensure the second one is still `3000`).

Expand Down
3 changes: 3 additions & 0 deletions src/routes/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,9 @@ if (ID_TYPE === 'EUID') {
router.get('/privacy', (req, res, _next) => {
res.render('privacy');
});
router.get('/privacynotice', (req, res, _next) => {
res.render('privacy');
});
}

router.get('/ops/healthcheck', (req, res, _next) => {
Expand Down

0 comments on commit 54ca903

Please sign in to comment.