{"action":"created","issue":{"url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/issues/220","labels_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/issues/220/labels{/name}","comments_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/issues/220/comments","events_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/issues/220/events","html_url":"https://github.com/davezuko/react-redux-starter-kit/issues/220","id":120577919,"number":220,"title":"Site routes not working on server","user":{"login":"OKNoah","id":3739277,"avatar_url":"https://avatars.githubusercontent.com/u/3739277?v=3","gravatar_id":"","url":"https://api.github.com/users/OKNoah","html_url":"https://github.com/OKNoah","followers_url":"https://api.github.com/users/OKNoah/followers","following_url":"https://api.github.com/users/OKNoah/following{/other_user}","gists_url":"https://api.github.com/users/OKNoah/gists{/gist_id}","starred_url":"https://api.github.com/users/OKNoah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OKNoah/subscriptions","organizations_url":"https://api.github.com/users/OKNoah/orgs","repos_url":"https://api.github.com/users/OKNoah/repos","events_url":"https://api.github.com/users/OKNoah/events{/privacy}","received_events_url":"https://api.github.com/users/OKNoah/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-05T18:28:07Z","updated_at":"2015-12-06T13:43:20Z","closed_at":null,"body":"Hi,\r\n\r\nI've created a site that works well locally. However, when I load it to Heroku, the routes don't work as expected. Linking to `/search` from the home page works fine, but not when navigated to directly or refreshed.\r\n\r\nI have also tried making my own node server to access `/dist/client` and serve that, but then I get many errors in the browser console about being able to connect to socket-js.\r\n\r\nAny insight would be appreciated."},"comment":{"url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/issues/comments/162318975","html_url":"https://github.com/davezuko/react-redux-starter-kit/issues/220#issuecomment-162318975","issue_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/issues/220","id":162318975,"user":{"login":"davezuko","id":6439050,"avatar_url":"https://avatars.githubusercontent.com/u/6439050?v=3","gravatar_id":"","url":"https://api.github.com/users/davezuko","html_url":"https://github.com/davezuko","followers_url":"https://api.github.com/users/davezuko/followers","following_url":"https://api.github.com/users/davezuko/following{/other_user}","gists_url":"https://api.github.com/users/davezuko/gists{/gist_id}","starred_url":"https://api.github.com/users/davezuko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davezuko/subscriptions","organizations_url":"https://api.github.com/users/davezuko/orgs","repos_url":"https://api.github.com/users/davezuko/repos","events_url":"https://api.github.com/users/davezuko/events{/privacy}","received_events_url":"https://api.github.com/users/davezuko/received_events","type":"User","site_admin":false},"created_at":"2015-12-06T13:43:20Z","updated_at":"2015-12-06T13:43:20Z","body":"@OKNoah I got an email about a comment you posted but no longer see it. To answer it: no, there currently is not a production server in this app. Out of the box it's able to be served statically from `~/dist` from a web server, but if you need to serve it from an app server like for Heroku then you'll need to set that up yourself (again, probably just what @JuoCode posted would suffice)."}}