增加IPAddress.Loopback
This commit is contained in:
parent
da2993a6d9
commit
7d3dbd23ad
@ -1,6 +1,6 @@
|
||||
<Project>
|
||||
<PropertyGroup>
|
||||
<Version>1.1.1</Version>
|
||||
<Version>1.1.2</Version>
|
||||
<Nullable>enable</Nullable>
|
||||
<Description>github加速神器</Description>
|
||||
<Copyright>https://github.com/dotnetcore/FastGithub</Copyright>
|
||||
|
||||
@ -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))
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user