Skip to content

Commit

Permalink
Update app.js community redirect url (#1026)
Browse files Browse the repository at this point in the history
* update app.js community redirect url

* bump package and add changelog entry
  • Loading branch information
davidhunter08 authored Mar 8, 2021
1 parent de39619 commit 9dd814e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# NHS digital service manual Changelog

## 3.12.1 - 08 March 2021
:wrench: **Fixes**

- Update `app.js` redirect URL for `/community`

## 3.12.0 - 08 March 2021

:new: **New features**
Expand Down
4 changes: 2 additions & 2 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@ app.get('/community/develop-component-pattern', (req, res) => {
res.redirect('/community-and-contribution/develop-component-pattern');
});

app.get('/community/index', (req, res) => {
res.redirect('/community-and-contribution/index');
app.get('/community', (req, res) => {
res.redirect('/community-and-contribution');
});

app.get('/community/propose-component-pattern', (req, res) => {
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nhsuk-service-manual",
"version": "3.12.0",
"version": "3.12.1",
"description": "NHS digital service manual",
"main": "app.js",
"directories": {
Expand Down

0 comments on commit 9dd814e

Please sign in to comment.