Skip to content

Commit

Permalink
Merge pull request facebook#347 from AndrewKvalheim/patch-1
Browse files Browse the repository at this point in the history
Resolve merge conflict
  • Loading branch information
DorianGrey authored Jul 5, 2018
2 parents 608e0e2 + 6edb4ff commit e4b1f94
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/react-scripts/template/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2217,9 +2217,6 @@ GitHub Pages doesn’t support routers that use the HTML5 `pushState` history AP
* You could switch from using HTML5 history API to routing with hashes. If you use React Router, you can switch to `hashHistory` for this effect, but the URL will be longer and more verbose (for example, `http://user.github.io/todomvc/#/todos/42?_k=yknaj`). [Read more](https://reacttraining.com/react-router/web/api/Router) about different history implementations in React Router.
* Alternatively, you can use a trick to teach GitHub Pages to handle 404 by redirecting to your `index.html` page with a special redirect parameter. You would need to add a `404.html` file with the redirection code to the `build` folder before deploying your project, and you’ll need to add code handling the redirect parameter to `index.html`. You can find a detailed explanation of this technique [in this guide](https://github.com/rafrex/spa-github-pages).

<<<<<<< HEAD
### Heroku
=======
#### Troubleshooting

##### "/dev/tty: No such a device or address"
Expand All @@ -2231,7 +2228,6 @@ If, when deploying, you get `/dev/tty: No such a device or address` or a similar
3. Try `npm run deploy again`

### [Heroku](https://www.heroku.com/)
>>>>>>> dfbc71ce2ae07547a8544cce14a1a23fac99e071

Use the [Heroku Buildpack for Create React App](https://github.com/mars/create-react-app-buildpack).<br>
You can find instructions in [Deploying React with Zero Configuration](https://blog.heroku.com/deploying-react-with-zero-configuration).
Expand Down

0 comments on commit e4b1f94

Please sign in to comment.