Describe the bug
The header link of the dashboard takes you to the staging site home (https://coronavirus-staging.data.gov.uk/), not the public site home. This could mean members of the public, press etc. are at random exposed to bugs in unreleased code versions, depending on their navigation path.
To Reproduce
- Open https://coronavirus.data.gov.uk/
- Click on the black banner at the top
- Note the URL is now that of the staging site.
Expected behaviour
The URL should remain https://coronavirus.data.gov.uk/
Screenshots
N/A
Desktop (please complete the following information):
Not OS/browser dependent.
Additional context
The problem was introduced in July and is on line 14 of:
https://github.com/publichealthengland/coronavirus-dashboard/blob/v2-development/src/components/Header/Header.js
which hardcodes an environment-specific URL.
Describe the bug
The header link of the dashboard takes you to the staging site home (https://coronavirus-staging.data.gov.uk/), not the public site home. This could mean members of the public, press etc. are at random exposed to bugs in unreleased code versions, depending on their navigation path.
To Reproduce
Expected behaviour
The URL should remain https://coronavirus.data.gov.uk/
Screenshots
N/A
Desktop (please complete the following information):
Not OS/browser dependent.
Additional context
The problem was introduced in July and is on line 14 of:
https://github.com/publichealthengland/coronavirus-dashboard/blob/v2-development/src/components/Header/Header.js
which hardcodes an environment-specific URL.