Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Meta
create-react-app
Commits
dd9ec7bc
Commit
dd9ec7bc
authored
8 years ago
by
Mato Ilic
Committed by
Dan Abramov
8 years ago
Browse files
Options
Download
Email Patches
Plain Diff
fixes
#1584
PORT env variable not always an integer (#1585)
parent
bee4ecec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
packages/react-scripts/scripts/start.js
+1
-1
packages/react-scripts/scripts/start.js
with
1 addition
and
1 deletion
+1
-1
packages/react-scripts/scripts/start.js
+
1
-
1
View file @
dd9ec7bc
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment