Skip to content
This repository was archived by the owner on Jan 26, 2019. It is now read-only.

Commit e4b1f94

Browse files
authored
Merge pull request #347 from AndrewKvalheim/patch-1
Resolve merge conflict
2 parents 608e0e2 + 6edb4ff commit e4b1f94

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

packages/react-scripts/template/README.md

-4
Original file line numberDiff line numberDiff line change
@@ -2217,9 +2217,6 @@ GitHub Pages doesn’t support routers that use the HTML5 `pushState` history AP
22172217
* 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.
22182218
* 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).
22192219

2220-
<<<<<<< HEAD
2221-
### Heroku
2222-
=======
22232220
#### Troubleshooting
22242221

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

22332230
### [Heroku](https://www.heroku.com/)
2234-
>>>>>>> dfbc71ce2ae07547a8544cce14a1a23fac99e071
22352231

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

0 commit comments

Comments
 (0)