Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On header link redirect to / route rather than hardcoded staging site #254

Open
wants to merge 2 commits into
base: v2-development
Choose a base branch
from

Conversation

joemclo
Copy link
Contributor

@joemclo joemclo commented Oct 17, 2020

This commit fixes #251.
On the master site https://coronavirus.data.gov.uk/ the main header
redirects to https://coronavirus-staging.data.gov.uk/

On the staging site https://coronavirus-staging.data.gov.uk/ the main
header redirects to https://coronavirus.data.gov.uk/

I'm assuming this is not intentional and is a bug, and set the header
link to redirect to / route, so that on whatever site this project is
deployed, it will always redirect to the base index page.

Feel free to close if this was intentional behaviour.

This commit is a fix for UKHSA-Internal#251.
On the master site https://coronavirus.data.gov.uk/ the main header
redirects to https://coronavirus-staging.data.gov.uk/

On the staging site https://coronavirus-staging.data.gov.uk/ the main
header redirects to https://coronavirus.data.gov.uk/

I'm assuming this is not intentional and is a bug, and set the header
link to redirect to / route, so that on whatever site this project is
deployed, it will always redirect to the base index page.
@xenatisch xenatisch changed the base branch from v2-development to v3-development December 1, 2020 22:58
@xenatisch xenatisch self-requested a review December 1, 2020 22:59
@xenatisch xenatisch added the enhancement New feature or request label Dec 1, 2020
@xenatisch xenatisch self-assigned this Dec 1, 2020
@xenatisch xenatisch changed the base branch from v3-development to v2-development December 1, 2020 23:01
@xenatisch
Copy link
Contributor

This is actually an important one, but unfortunately, this too is now obsolete. Would be happy to approve a PR against v3-development if you'd like to do it.

@joemclo
Copy link
Contributor Author

joemclo commented Dec 2, 2020

would be happy to approve a PR against v3-development if you'd like to do it
Is v3 the live site?

How is development working on this btw, is it upstream in a private repo and only then pushed to public github?

@xenatisch
Copy link
Contributor

@joemclo Right now, it gets pushed to our development env for testing, and it confirmed, it will be approved for staging (not the public one), and usually sits there until the next deployment to production.

Soon, I will create a v3-master which will be connected to our private staging, and then releases from v3-master would be routed to prod.

@joemclo
Copy link
Contributor Author

joemclo commented Dec 22, 2020

Ok cool.
I'll add this against v3.
I'm keen to do some small contributions in my spare time if that will be helpful

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Header link hardcoded to staging site
2 participants