Skip to content

Commit

Permalink
simplify protocol === "https" ? true : false to `protocol === "http…
Browse files Browse the repository at this point in the history
…s"` (#730)
  • Loading branch information
kasperpeulen authored and gaearon committed Sep 23, 2016
1 parent 7ac8777 commit 500fb74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-scripts/scripts/start.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ function runDevServer(host, port, protocol) {
ignored: /node_modules/
},
// Enable HTTPS if the HTTPS environment variable is set to 'true'
https: protocol === "https" ? true : false,
https: protocol === "https",
host: host
});

Expand Down

0 comments on commit 500fb74

Please sign in to comment.