Commit 500fb749 authored by Kasper Peulen's avatar Kasper Peulen Committed by Dan Abramov
Browse files

simplify `protocol === "https" ? true : false` to `protocol === "https"` (#730)

parent 7ac8777e
Showing with 1 addition and 1 deletion
+1 -1
......@@ -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
});
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment