Skip to content

Commit

Permalink
Default to 0.0.0.0 (facebook#2117)
Browse files Browse the repository at this point in the history
  • Loading branch information
Timer authored and romaindso committed Jul 10, 2017
1 parent ecba041 commit 995fac9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-scripts/scripts/start.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const DEFAULT_PORT = parseInt(process.env.PORT, 10) || 3000;

function run(port) {
const protocol = process.env.HTTPS === 'true' ? 'https' : 'http';
const host = process.env.HOST || 'localhost';
const host = process.env.HOST || '0.0.0.0';

// Create a webpack compiler that is configured with custom messages.
const compiler = createWebpackCompiler(
Expand Down

0 comments on commit 995fac9

Please sign in to comment.