Commit 8d4604eb authored by Joe Haddad's avatar Joe Haddad Committed by Dan Abramov
Browse files

Default to 0.0.0.0 (#2117)

parent 70768b32
3 merge requests!12191Lim.Pisey.168:/Identified - We are currently investigating reports of missing build logs. The issue has been identified and a resolution is in progress. We will provide a further update when available.Mar 21, 09:02 UTC,!12853brikk,!5717Automatically extract project file structure from build bundle file
Showing with 1 addition and 1 deletion
+1 -1
...@@ -54,7 +54,7 @@ const DEFAULT_PORT = parseInt(process.env.PORT, 10) || 3000; ...@@ -54,7 +54,7 @@ const DEFAULT_PORT = parseInt(process.env.PORT, 10) || 3000;
function run(port) { function run(port) {
const protocol = process.env.HTTPS === 'true' ? 'https' : 'http'; 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. // Create a webpack compiler that is configured with custom messages.
const compiler = createWebpackCompiler( const compiler = createWebpackCompiler(
......
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