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

Refresh in production mode causes error #6

Closed
jkettmann opened this issue Mar 18, 2016 · 2 comments
Closed

Refresh in production mode causes error #6

jkettmann opened this issue Mar 18, 2016 · 2 comments
Labels

Comments

@jkettmann
Copy link
Contributor

Refreshing the browser on any page except home causes an error "cannot get /...". This must be a configuration problem between react-routers browser history and the server.

In short: when you navigate to e.g. /login via the menu react-router is taking care of navigation without server interaction. On refresh though a request with url /login is send to server which is not available.

See this answer on stackoverflow

@lvarayut
Copy link
Owner

Thanks for reporting. I'll take a look at it soon. If you could make a PR, it'll be very welcomed.

@lvarayut lvarayut added the bug label Mar 18, 2016
@lvarayut
Copy link
Owner

Fixed by e661e23.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants