refactor(package): update internal-ip v1.2.0...3.0.0 (dependencies)#1471
refactor(package): update internal-ip v1.2.0...3.0.0 (dependencies)#1471wtgtybhertgeghgtwtg wants to merge 1 commit into
internal-ip v1.2.0...3.0.0 (dependencies)#1471Conversation
internal-ipv4.sync() instead of v4() (internal-ip)
|
The clearify the main issue in #1109 was simply the fact that |
Codecov Report
@@ Coverage Diff @@
## master #1471 +/- ##
=======================================
Coverage 71.82% 71.82%
=======================================
Files 11 11
Lines 763 763
=======================================
Hits 548 548
Misses 215 215
Continue to review full report at Codecov.
|
v4.sync() instead of v4() (internal-ip)internal-ip v1.2.0...3.0.0 (dependencies)
|
|
It works locally, so I'm guessing it just couldn't get the IP inside Travis and that |
|
To clarify, |
| const appPort = listeningApp ? listeningApp.address().port : 0; | ||
| const port = options.socket ? 0 : appPort; | ||
| const hostname = options.useLocalIp ? internalIp.v4() : options.host; | ||
| const hostname = options.useLocalIp ? internalIp.v4.sync() : options.host; |
There was a problem hiding this comment.
const hostname = options.useLocalIp ? internalIp.v4.sync() || 'localhost' : options.host;?
There was a problem hiding this comment.
Sounds good to me. Lemme rebase and I'll push that.
|
@wtgtybhertgeghgtwtg On last rebase please (promised) :) |
|
Already landed as 418493d but I got |
internal-ipwas brought back down because of #1109, but they've since added a sync methodType
Issues
SemVer