diff --git a/src/Basis.php b/src/Basis.php index dfc4721..85cfa25 100644 --- a/src/Basis.php +++ b/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'; }