Skip to content

Commit

Permalink
fix(web): do not replace 0.0.0.0 with localhost
Browse files Browse the repository at this point in the history
  • Loading branch information
vsavkin committed Dec 2, 2019
1 parent fd78f09 commit 91e1f4e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/web/src/builders/dev-server/dev-server.impl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,7 @@ function run(
const path = buildServePath(options);
const serverUrl = url.format({
protocol: serveOptions.ssl ? 'https' : 'http',
hostname:
serveOptions.host === '0.0.0.0' ? 'localhost' : serveOptions.host,
hostname: serveOptions.host,
port: serveOptions.port.toString(),
path: path
});
Expand Down

0 comments on commit 91e1f4e

Please sign in to comment.