File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/react-scripts/template Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -881,15 +881,15 @@ This will let Create React App correctly infer the root path to use in the gener
881881Open your `package.json` and add a `homepage` field:
882882
883883```js
884- "homepage": "http ://myusername.github.io/my-app",
884+ "homepage": "https ://myusername.github.io/my-app",
885885```
886886
887887**The above step is important!**<br>
888888Create React App uses the `homepage` field to determine the root URL in the built HTML file.
889889
890890Now, whenever you run `npm run build`, you will see a cheat sheet with instructions on how to deploy to GitHub pages.
891891
892- To publish it at [http ://myusername.github.io/my-app](http ://myusername.github.io/my-app), run:
892+ To publish it at [https ://myusername.github.io/my-app](https ://myusername.github.io/my-app), run:
893893
894894```sh
895895npm install --save-dev gh-pages
You can’t perform that action at this time.
0 commit comments