From b576f9b1f75ee3a537cf148ca3840b14e626067b Mon Sep 17 00:00:00 2001 From: Scott Sundahl Date: Tue, 19 Dec 2023 15:04:38 -0700 Subject: [PATCH] route for privacynotice --- README.MD | 2 +- src/routes/index.ts | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.MD b/README.MD index 847d860..a5f8b00 100644 --- a/README.MD +++ b/README.MD @@ -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`). diff --git a/src/routes/index.ts b/src/routes/index.ts index 54943a7..3643ab5 100644 --- a/src/routes/index.ts +++ b/src/routes/index.ts @@ -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) => {