auvezy-terminal-remote 0.4.1 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +6 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1469,7 +1469,12 @@ function detectDisplayIp(hostHint) {
|
|
|
1469
1469
|
}
|
|
1470
1470
|
}
|
|
1471
1471
|
}
|
|
1472
|
-
|
|
1472
|
+
const picked = tailscale[0] ?? lanReal[0] ?? lanVirtual[0] ?? linkLocals[0] ?? "127.0.0.1";
|
|
1473
|
+
if (process.env["ATR_DEBUG_NETWORK"] !== "0") {
|
|
1474
|
+
process.stderr.write(`[detectDisplayIp] tailscale=[${tailscale.join(",")}] lanReal=[${lanReal.join(",")}] lanVirtual=[${lanVirtual.join(",")}] linkLocal=[${linkLocals.join(",")}] \u2192 picked=${picked}
|
|
1475
|
+
`);
|
|
1476
|
+
}
|
|
1477
|
+
return picked;
|
|
1473
1478
|
}
|
|
1474
1479
|
function isShareableIpv6(ip, info) {
|
|
1475
1480
|
if (!ip.includes(":"))
|