You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// skip over internal (i.e. 127.0.0.1) and non-ipv4 addresses
20
+
}else{
21
+
ip=iface.address
22
+
break
23
+
}
24
+
}
25
+
if(ip){
26
+
break
27
+
}
28
+
}
29
+
30
+
if(!ip){
31
+
console.warn(`[HMR] No local IP detected. If you want to connect from a remote device, set the local IP with the 'HMR_URL' env. variable.`)
32
+
ip='127.0.0.1'
33
+
}else{
34
+
// console.warn(`[HMR] Local IP detected: '${ip}'. If you have issues connecting from a remote device, set the local IP with the 'HMR_URL' env. variable.`)
0 commit comments