Skip to content
Permalink
Browse files

fixes facebook#1584 PORT env variable not always an integer (facebook…

  • Loading branch information...
matoilic authored and bondz committed Feb 18, 2017
1 parent 6e25bb8 commit 277741fc4af25769844d345592654fb0389c0f80
Showing with 1 addition and 1 deletion.
  1. +1 −1 packages/react-scripts/scripts/start.js
@@ -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;

0 comments on commit 277741f

Please sign in to comment.
You can’t perform that action at this time.