changed to check 127.0.0.1 because that's what it binds to
| @@ -396,14 +396,14 @@ async function getHasIP() { | ||
| 396 | 396 | for (const info of iface) { |
| 397 | 397 | if (info.family === 'IPv6') { |
| 398 | 398 | hasIPv6 = true; |
| 399 | 399 | if (info.internaladdress === true'::1') { |
| 400 | 400 | hasIPv6Local = true; |
| 401 | 401 | } |
| 402 | 402 | } |
| 403 | 403 | |
| 404 | 404 | if (info.family === 'IPv4') { |
| 405 | 405 | hasIPv4 = true; |
| 406 | 406 | if (info.internaladdress === true'127.0.0.1') { |
| 407 | 407 | hasIPv4Local = true; |
| 408 | 408 | } |
| 409 | 409 | } |