Skip to content
This repository has been archived by the owner on May 2, 2022. It is now read-only.

Enhance rate limit handling, add email config param #483

Merged
merged 12 commits into from
Apr 2, 2020
Prev Previous commit
Next Next commit
Fix various routes
  • Loading branch information
sbocinec committed Apr 2, 2020
commit d398ae2fe65f676337ce8c0f66ad0f07cad77b59
6 changes: 3 additions & 3 deletions app/routes/various-routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ const cookieOptions = {
signed: false // signed indicates if the cookie should be signed
};

router.get(`${urls.privacyPolicy}`, (req, res) => {
router.get(urls.privacyPolicy, (req, res) => {
return res.render(
`privacy-statements/${config.COUNTRY_CODE}-privacy-statement`
);
});

router.get(`${urls.contributors}`, (req, res) => {
router.get(urls.contributors, (req, res) => {
return res.render('pages/contributors');
});

router.get(`${urls.limit}`, (req, res) => {
router.get(urls.limit, (req, res) => {
return res.render('pages/limit');
});

Expand Down