{"action":"created","issue":{"url":"https://api.github.com/repos/mars/create-react-app-buildpack/issues/43","repository_url":"https://api.github.com/repos/mars/create-react-app-buildpack","labels_url":"https://api.github.com/repos/mars/create-react-app-buildpack/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/mars/create-react-app-buildpack/issues/43/comments","events_url":"https://api.github.com/repos/mars/create-react-app-buildpack/issues/43/events","html_url":"https://github.com/mars/create-react-app-buildpack/issues/43","id":223748289,"number":43,"title":"Serve 404 status code with react-router","user":{"login":"pflenker","id":4085533,"avatar_url":"https://avatars3.githubusercontent.com/u/4085533?v=3","gravatar_id":"","url":"https://api.github.com/users/pflenker","html_url":"https://github.com/pflenker","followers_url":"https://api.github.com/users/pflenker/followers","following_url":"https://api.github.com/users/pflenker/following{/other_user}","gists_url":"https://api.github.com/users/pflenker/gists{/gist_id}","starred_url":"https://api.github.com/users/pflenker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pflenker/subscriptions","organizations_url":"https://api.github.com/users/pflenker/orgs","repos_url":"https://api.github.com/users/pflenker/repos","events_url":"https://api.github.com/users/pflenker/events{/privacy}","received_events_url":"https://api.github.com/users/pflenker/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-04-24T08:59:10Z","updated_at":"2017-04-24T21:04:41Z","closed_at":null,"body":"Hi,\r\n\r\nI am using react-router for my routing, so far successfully. In my  routes, I was also able to define a fallback route for 404 pages, which also works perfectly.\r\n\r\nHowever, it seems that we always return 200, even on those 404 routes, which is something I'd like to avoid for SEO reasons.\r\n\r\nThe only solution I found so far is explicitly defining the routes in the static.json instead of using `**/`, redirecting all of them to index.html - but that comes with the drawback of having the route definitions duplicated. Also, there is a high risk about forgetting amending the static.json when I introduce a new page, which would mean that a \"valid\" page that is normally rendered would return 404.\r\n\r\nAny help would be appreciated.\r\n\r\nBest regards,\r\n\r\nPhilipp"},"comment":{"url":"https://api.github.com/repos/mars/create-react-app-buildpack/issues/comments/296821981","html_url":"https://github.com/mars/create-react-app-buildpack/issues/43#issuecomment-296821981","issue_url":"https://api.github.com/repos/mars/create-react-app-buildpack/issues/43","id":296821981,"user":{"login":"pflenker","id":4085533,"avatar_url":"https://avatars3.githubusercontent.com/u/4085533?v=3","gravatar_id":"","url":"https://api.github.com/users/pflenker","html_url":"https://github.com/pflenker","followers_url":"https://api.github.com/users/pflenker/followers","following_url":"https://api.github.com/users/pflenker/following{/other_user}","gists_url":"https://api.github.com/users/pflenker/gists{/gist_id}","starred_url":"https://api.github.com/users/pflenker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pflenker/subscriptions","organizations_url":"https://api.github.com/users/pflenker/orgs","repos_url":"https://api.github.com/users/pflenker/repos","events_url":"https://api.github.com/users/pflenker/events{/privacy}","received_events_url":"https://api.github.com/users/pflenker/received_events","type":"User","site_admin":false},"created_at":"2017-04-24T21:04:41Z","updated_at":"2017-04-24T21:04:41Z","body":"Thank you for this thorough reply! I will check it out!"}}
{"actor":{"display_login":"pflenker"}}