From d2589479bcde4571b36c6f9ea7d1e5e41d7ebf2c Mon Sep 17 00:00:00 2001 From: Swizec Teller Date: Fri, 28 Oct 2016 00:10:24 -0700 Subject: [PATCH] Gently nudge users towards https by default gh-pages supports https. It's important for prominent help files to encourage best practices. --- packages/react-scripts/template/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react-scripts/template/README.md b/packages/react-scripts/template/README.md index 6f13b12d2e0..6bb93795bad 100644 --- a/packages/react-scripts/template/README.md +++ b/packages/react-scripts/template/README.md @@ -881,7 +881,7 @@ This will let Create React App correctly infer the root path to use in the gener Open your `package.json` and add a `homepage` field: ```js - "homepage": "http://myusername.github.io/my-app", + "homepage": "https://myusername.github.io/my-app", ``` **The above step is important!**
@@ -889,7 +889,7 @@ Create React App uses the `homepage` field to determine the root URL in the buil Now, whenever you run `npm run build`, you will see a cheat sheet with instructions on how to deploy to GitHub pages. -To publish it at [http://myusername.github.io/my-app](http://myusername.github.io/my-app), run: +To publish it at [https://myusername.github.io/my-app](https://myusername.github.io/my-app), run: ```sh npm install --save-dev gh-pages