Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

route for privacynotice #28

Merged
merged 1 commit into from
Dec 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading