{"action":"created","issue":{"url":"https://api.github.com/repos/zeit/now-cli/issues/1623","repository_url":"https://api.github.com/repos/zeit/now-cli","labels_url":"https://api.github.com/repos/zeit/now-cli/issues/1623/labels{/name}","comments_url":"https://api.github.com/repos/zeit/now-cli/issues/1623/comments","events_url":"https://api.github.com/repos/zeit/now-cli/issues/1623/events","html_url":"https://github.com/zeit/now-cli/issues/1623","id":371840388,"node_id":"MDU6SXNzdWUzNzE4NDAzODg=","number":1623,"title":"Creact React App (SPA) - rewrites doesn't work","user":{"login":"wishfulthinkerme","id":11736448,"node_id":"MDQ6VXNlcjExNzM2NDQ4","avatar_url":"https://avatars0.githubusercontent.com/u/11736448?v=4","gravatar_id":"","url":"https://api.github.com/users/wishfulthinkerme","html_url":"https://github.com/wishfulthinkerme","followers_url":"https://api.github.com/users/wishfulthinkerme/followers","following_url":"https://api.github.com/users/wishfulthinkerme/following{/other_user}","gists_url":"https://api.github.com/users/wishfulthinkerme/gists{/gist_id}","starred_url":"https://api.github.com/users/wishfulthinkerme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wishfulthinkerme/subscriptions","organizations_url":"https://api.github.com/users/wishfulthinkerme/orgs","repos_url":"https://api.github.com/users/wishfulthinkerme/repos","events_url":"https://api.github.com/users/wishfulthinkerme/events{/privacy}","received_events_url":"https://api.github.com/users/wishfulthinkerme/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-10-19T07:37:57Z","updated_at":"2018-11-01T18:57:25Z","closed_at":null,"author_association":"NONE","body":"Hey,\r\nI am deploying the app successfully, but it seems that rewrites don't work at all.\r\n\r\n```\r\n{\r\n  \"name\":\"mybestsystem-system\",\r\n  \"alias\": \"system.mybestsystem.app\",\r\n  \"type\": \"static\",\r\n  \"public\": true,\r\n  \"static\": {\r\n    \"rewrites\": [\r\n      {\r\n        \"source\": \"**\",\r\n        \"destination\": \"/index.html\"\r\n      }\r\n    ]\r\n  }\r\n}\r\n```\r\n_*mybestsystem is fake name here._\r\n\r\nWhen I reach **system.mybestsystem.app** everything works fine, routing is perfect. When I reach e.g. **system.mybestsystem.app/my-best-route** and refresh I got **404 | requested path could not be found**. \r\n\r\nThis is standard create-react-app with routing. Not sure what is wrong. I've followed the docs https://zeit.co/docs/examples/create-react-app#instructing-the-build.\r\n\r\nAnyone already solved it?\r\n\r\nBest Regards"},"comment":{"url":"https://api.github.com/repos/zeit/now-cli/issues/comments/435148417","html_url":"https://github.com/zeit/now-cli/issues/1623#issuecomment-435148417","issue_url":"https://api.github.com/repos/zeit/now-cli/issues/1623","id":435148417,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNTE0ODQxNw==","user":{"login":"ivan-navarro-75","id":25500541,"node_id":"MDQ6VXNlcjI1NTAwNTQx","avatar_url":"https://avatars0.githubusercontent.com/u/25500541?v=4","gravatar_id":"","url":"https://api.github.com/users/ivan-navarro-75","html_url":"https://github.com/ivan-navarro-75","followers_url":"https://api.github.com/users/ivan-navarro-75/followers","following_url":"https://api.github.com/users/ivan-navarro-75/following{/other_user}","gists_url":"https://api.github.com/users/ivan-navarro-75/gists{/gist_id}","starred_url":"https://api.github.com/users/ivan-navarro-75/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivan-navarro-75/subscriptions","organizations_url":"https://api.github.com/users/ivan-navarro-75/orgs","repos_url":"https://api.github.com/users/ivan-navarro-75/repos","events_url":"https://api.github.com/users/ivan-navarro-75/events{/privacy}","received_events_url":"https://api.github.com/users/ivan-navarro-75/received_events","type":"User","site_admin":false},"created_at":"2018-11-01T18:57:25Z","updated_at":"2018-11-01T18:57:25Z","author_association":"NONE","body":"now it is working, thanks @wishfulthinkerme "}}
{"actor":{"display_login":"ivan-navarro-75"}}