Browse Source

remove: localhost test code

master
Dnomd343 2 years ago
parent
commit
d96bbeafa1
  1. 3
      src/Basis.php

3
src/Basis.php

@ -60,8 +60,7 @@ function getHost(): string {
return 'KMS_HOST';
}
$host = v6DelBracket($match[1][0]); // try to remove ipv6 bracket again
// TODO: recover $host param
// $host = ($host == '127.0.0.1' or $host == '::1') ? 'KMS_HOST' : $host; // ignore localhost forward
$host = ($host == '127.0.0.1' or $host == '::1') ? 'KMS_HOST' : $host; // ignore localhost forward
return (isHost($host)) ? $host : 'KMS_HOST';
}

Loading…
Cancel
Save