changed to check 127.0.0.1 because that's what it binds to

dd6dcf1c5b819a53b606897121353235a8187f57

BPplays <andymalbp@gmail.com>

1 files changed, +2 -2Showing whitespace changes
server.js+2 -2
@@ -396,14 +396,14 @@ async function getHasIP() {
396396 for (const info of iface) {
397397 if (info.family === 'IPv6') {
398398 hasIPv6 = true;
399399 if (info.internaladdress === true'::1') {
400400 hasIPv6Local = true;
401401 }
402402 }
403403
404404 if (info.family === 'IPv4') {
405405 hasIPv4 = true;
406406 if (info.internaladdress === true'127.0.0.1') {
407407 hasIPv4Local = true;
408408 }
409409 }