Skip to content

Commit

Permalink
refactor(package): update internal-ip v1.2.0...3.0.0 (`dependencies…
Browse files Browse the repository at this point in the history
…`) (#1471)
  • Loading branch information
wtgtybhertgeghgtwtg authored and michael-ciniawsky committed Aug 28, 2018
1 parent 2d0999d commit 418493d
Show file tree
Hide file tree
Showing 4 changed files with 100 additions and 23 deletions.
2 changes: 1 addition & 1 deletion lib/utils/createDomain.js
Expand Up @@ -10,7 +10,7 @@ const ip = require('internal-ip');

function createDomain (options, server) {
const protocol = options.https ? 'https' : 'http';
const hostname = options.useLocalIp ? ip.v4() : options.host;
const hostname = options.useLocalIp ? ip.v4.sync() || 'localhost' : options.host;

const port = options.socket
? 0
Expand Down
117 changes: 97 additions & 20 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 418493d

Please sign in to comment.