Skip to content

Commit

Permalink
Merge pull request #810 from nhsuk/contribution-short-url
Browse files Browse the repository at this point in the history
Contribution short url
  • Loading branch information
henocookie authored Nov 9, 2020
2 parents c089c64 + cf12949 commit f1b09a1
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 11 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# NHS digital service manual Changelog

## 3.6.2 - Unreleased
## 3.6.2 - 9 November 2020

:wrench: **Fixes**

- Use Helmet to help secure app by setting various HTTP headers
- Create a new route to act as a short URL for the contribution survey
- Update package dependencies to latest versions

## 3.6.1 - 6 November 2020

Expand Down
4 changes: 4 additions & 0 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,10 @@ app.get('/slack', (req, res) => {
res.redirect('https://join.slack.com/t/nhs-service-manual/shared_invite/enQtNTIyOTEyNjU3NDkyLTk4NDQ3YzkwYzk1Njk5YjAxYTI5YTVkZmUxMGQ0ZjA3NjMyM2ZkNjBlMWMxODVjZjYzNzg1ZmU4MWY1NmE2YzE');
});

app.get('/community/contribution-survey', (req, res) => {
res.redirect('https://nhsdigital.eu.qualtrics.com/jfe/form/SV_5szVfoxZIW7Kr1b');
});

// Automatically route pages
app.get(/^([^.]+)$/, (req, res, next) => {
routing.matchRoutes(req, res, next);
Expand Down
71 changes: 63 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@
"babel-loader": "^8.1.0",
"concurrently": "^5.3.0",
"cpx": "^1.5.0",
"eslint": "^7.12.1",
"eslint-config-airbnb-base": "^14.2.0",
"eslint": "^7.13.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-nhsuk": "^0.17.0",
"eslint-plugin-import": "^2.22.1",
"iframe-resizer": "^3.6.6",
Expand Down

0 comments on commit f1b09a1

Please sign in to comment.