From 6126ac9a9bd3ec0a13280cdee4c01406117898f7 Mon Sep 17 00:00:00 2001 From: Swizec Teller Date: Fri, 28 Oct 2016 05:42:51 -0700 Subject: [PATCH] Gently nudge users towards https by default (#974) 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 ad3b27ce19c..12b0e1fda57 100644 --- a/packages/react-scripts/template/README.md +++ b/packages/react-scripts/template/README.md @@ -886,7 +886,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!**
@@ -894,7 +894,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