Skip to content

Commit 500fb74

Browse files
kasperpeulengaearon
authored andcommitted
simplify protocol === "https" ? true : false to protocol === "https" (#730)
1 parent 7ac8777 commit 500fb74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-scripts/scripts/start.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ function runDevServer(host, port, protocol) {
231231
ignored: /node_modules/
232232
},
233233
// Enable HTTPS if the HTTPS environment variable is set to 'true'
234-
https: protocol === "https" ? true : false,
234+
https: protocol === "https",
235235
host: host
236236
});
237237

0 commit comments

Comments
 (0)