diff --git a/Directory.Build.props b/Directory.Build.props index 923f798..16e8fee 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,6 +1,6 @@ - 1.1.1 + 1.1.2 enable github加速神器 https://github.com/dotnetcore/FastGithub diff --git a/FastGithub.ReverseProxy/KestrelServerOptionsExtensions.cs b/FastGithub.ReverseProxy/KestrelServerOptionsExtensions.cs index 09a1253..0d4731a 100644 --- a/FastGithub.ReverseProxy/KestrelServerOptionsExtensions.cs +++ b/FastGithub.ReverseProxy/KestrelServerOptionsExtensions.cs @@ -189,6 +189,7 @@ namespace FastGithub var hostName = Dns.GetHostName(); yield return hostName; + yield return IPAddress.Loopback.ToString(); foreach (var address in Dns.GetHostAddresses(hostName)) {