tech-for-better / WLA-frontend

https://www.skillswest.london/
MIT License
0 stars 0 forks source link

Internal navigation is partially broken in prod #110

Closed Ivo-Evans closed 4 years ago

Ivo-Evans commented 4 years ago

This one's a bit of a puzzle. When in prod (but not development), clicking from home

career paths -> computer science -> see more 

causes a 404 and a redirect home.

The url is https://www.skillswest.london/career/Computer-Science

However, clicking, from home

computer science

does not throw a 404, it works (neither does it give a 200 - we get a series of 304s for components). The url in the address bar, however, is the same as the one in the 404.

FInally, if you are at the computer science page having followed the second strategy, and you refresh the page or type the url in, the gatsby site doesn't recognise the url and gives you a 404 redirect to the homepage.

Note that this problem doesn't exist for me on localhost.