Hand url routing to React
Closed this issue · 1 comments
RobertHosking commented
React router has a route for /movies/:id. However, if I refresh the page at /movies/:id, I get a 404 because the server does not have that route.
Make all non-api requests render dist/index.html where react can handle routing.