It should redirect to the correct environment.
The app keeps refreshing and is stuck in this state. See the attached gif.
This started happening after the following:
- We have a local environment where the environment has a backend url of http://localhost:3000.
- We required to test this environment using an ssl connection due to an issue we were having and we changed the backend url to https://localhost:3000.
- This worked perfectly and we changed the environment back to http://localhost:3000 after the tests were completed. This is when the issue started.