Skip to content

Commit

Permalink
Fix network not being shown anymore (#661)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcofugaro authored Sep 9, 2021
1 parent e3f1e84 commit 79ca17c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/serve.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ const startEndpoint = (endpoint, config, args, previous) => {
const ip = getNetworkAddress();

localAddress = `${httpMode}://${address}:${details.port}`;
networkAddress = networkAddress ? `${httpMode}://${ip}:${details.port}` : null;
networkAddress = ip ? `${httpMode}://${ip}:${details.port}` : null;
}

if (isTTY && process.env.NODE_ENV !== 'production') {
Expand Down

0 comments on commit 79ca17c

Please sign in to comment.