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

fix: fix rendering of react-router routes with express #23

Closed
wants to merge 1 commit into from

Conversation

martin-probst
Copy link

There has been a regression when having switched to node express. react-router routes would not work anymore, resulting in outputting "404 cannot get /foo/bar" for every route except '/'
To get react-router to work, express needs to be configured to deliver the index.html for every unknown path in order to let react handle the routing.

@geelen
Copy link
Owner

geelen commented May 26, 2017

Pretty sure this has been fixed in the v1.1.0 release. Let me know if not!

@geelen geelen closed this May 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants