{"action":"created","issue":{"url":"https://api.github.com/repos/rackt/react-router-tutorial/issues/11","repository_url":"https://api.github.com/repos/rackt/react-router-tutorial","labels_url":"https://api.github.com/repos/rackt/react-router-tutorial/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/rackt/react-router-tutorial/issues/11/comments","events_url":"https://api.github.com/repos/rackt/react-router-tutorial/issues/11/events","html_url":"https://github.com/rackt/react-router-tutorial/issues/11","id":133002661,"number":11,"title":"--history-api-fallback doesn't work?","user":{"login":"ttyao","id":6226903,"avatar_url":"https://avatars.githubusercontent.com/u/6226903?v=3","gravatar_id":"","url":"https://api.github.com/users/ttyao","html_url":"https://github.com/ttyao","followers_url":"https://api.github.com/users/ttyao/followers","following_url":"https://api.github.com/users/ttyao/following{/other_user}","gists_url":"https://api.github.com/users/ttyao/gists{/gist_id}","starred_url":"https://api.github.com/users/ttyao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ttyao/subscriptions","organizations_url":"https://api.github.com/users/ttyao/orgs","repos_url":"https://api.github.com/users/ttyao/repos","events_url":"https://api.github.com/users/ttyao/events{/privacy}","received_events_url":"https://api.github.com/users/ttyao/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-11T15:24:03Z","updated_at":"2016-02-11T20:59:47Z","closed_at":null,"body":"I tried to follow lesson 10 to get clean urls but the server always can't solve `/repos` even after I added `--history-api-fallback` and changed the paths in index.html, and restarted the server. Any idea what might go wrong?"},"comment":{"url":"https://api.github.com/repos/rackt/react-router-tutorial/issues/comments/183057967","html_url":"https://github.com/rackt/react-router-tutorial/issues/11#issuecomment-183057967","issue_url":"https://api.github.com/repos/rackt/react-router-tutorial/issues/11","id":183057967,"user":{"login":"mightymaru","id":2994864,"avatar_url":"https://avatars.githubusercontent.com/u/2994864?v=3","gravatar_id":"","url":"https://api.github.com/users/mightymaru","html_url":"https://github.com/mightymaru","followers_url":"https://api.github.com/users/mightymaru/followers","following_url":"https://api.github.com/users/mightymaru/following{/other_user}","gists_url":"https://api.github.com/users/mightymaru/gists{/gist_id}","starred_url":"https://api.github.com/users/mightymaru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mightymaru/subscriptions","organizations_url":"https://api.github.com/users/mightymaru/orgs","repos_url":"https://api.github.com/users/mightymaru/repos","events_url":"https://api.github.com/users/mightymaru/events{/privacy}","received_events_url":"https://api.github.com/users/mightymaru/received_events","type":"User","site_admin":false},"created_at":"2016-02-11T20:59:47Z","updated_at":"2016-02-11T20:59:47Z","body":"If you copied the line above the full command there is a typo in the docs.\r\n\r\nThe doc says: \r\n--history-fallback-api\r\ninstead of:\r\n\"start\": \"webpack-dev-server --inline --content-base . --history-api-fallback\"\r\n\r\nDouble check that you didn't make the same mistake I did (reversed the order of fallback and api). \r\n\r\nAlso make sure you have the dot in for current directory after content base.\r\n"}}