andresjosehr-portfolio
andresjosehr-portfolio copied to clipboard
404 error on refreshing the page
On refreshing the page with the English / Espanol option, the server throws a page not found error. This could be because the server is trying to fetch data from the /en or /es endpoint and cannot find that endpoint.
It could be solved by enabling hashing with routing from the angular side.
For reference: https://codecraft.tv/courses/angular/routing/routing-strategies/