instbyte 1.12.0 → 1.12.1

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/server/server.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "instbyte",
3
- "version": "1.12.0",
3
+ "version": "1.12.1",
4
4
  "description": "A self-hosted LAN sharing utility for fast, frictionless file, link, and snippet exchange across devices — no cloud required.",
5
5
  "main": "bin/instbyte.js",
6
6
  "bin": {
package/server/server.js CHANGED
@@ -1072,7 +1072,7 @@ function getLocalIP() {
1072
1072
  const preferred =
1073
1073
  candidates.find(c => c.address.startsWith("192.168.")) ||
1074
1074
  candidates.find(c => c.address.startsWith("10.")) ||
1075
- candidates.find(c => c.address.startsWith("172.16.")) ||
1075
+ candidates.find(c => c.address.startsWith("172.")) ||
1076
1076
  candidates[0];
1077
1077
 
1078
1078
  return preferred ? preferred.address : "localhost";