Commit dd9ec7bc authored by Mato Ilic's avatar Mato Ilic Committed by Dan Abramov
Browse files

fixes #1584 PORT env variable not always an integer (#1585)

parent bee4ecec
Showing with 1 addition and 1 deletion
+1 -1
......@@ -43,7 +43,7 @@ if (!checkRequiredFiles([paths.appHtml, paths.appIndexJs])) {
}
// Tools like Cloud9 rely on this.
var DEFAULT_PORT = process.env.PORT || 3000;
var DEFAULT_PORT = parseInt(process.env.PORT, 10) || 3000;
var compiler;
var handleCompile;
......
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