cryptDns重试
This commit is contained in:
parent
efb59f2535
commit
7bd3bacfcc
@ -81,6 +81,7 @@ namespace FastGithub.DomainResolve
|
|||||||
if (cryptDns != null)
|
if (cryptDns != null)
|
||||||
{
|
{
|
||||||
yield return cryptDns;
|
yield return cryptDns;
|
||||||
|
yield return cryptDns;
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach (var fallbackDns in this.fastGithubConfig.FallbackDns)
|
foreach (var fallbackDns in this.fastGithubConfig.FallbackDns)
|
||||||
|
|||||||
@ -17,4 +17,16 @@
|
|||||||
</None>
|
</None>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<None Remove="domains.json" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<Content Include="domains.json">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
|
||||||
|
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
|
||||||
|
</Content>
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|||||||
22
FastGithub.DomainResolve/domains.json
Normal file
22
FastGithub.DomainResolve/domains.json
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
[
|
||||||
|
"github.com",
|
||||||
|
"v2ex.com",
|
||||||
|
"alive.github.com",
|
||||||
|
"api.github.com",
|
||||||
|
"collector.githubapp.com",
|
||||||
|
"github.githubassets.com",
|
||||||
|
"avatars.githubusercontent.com",
|
||||||
|
"camo.githubusercontent.com",
|
||||||
|
"github-releases.githubusercontent.com",
|
||||||
|
"raw.githubusercontent.com",
|
||||||
|
"www.gravatar.com",
|
||||||
|
"onedrive.live.com",
|
||||||
|
"cdn.v2ex.com",
|
||||||
|
"microsoft.github.io",
|
||||||
|
"fonts.geekzu.org",
|
||||||
|
"gapis.geekzu.org",
|
||||||
|
"i.stack.imgur.com",
|
||||||
|
"skyapi.onedrive.live.com",
|
||||||
|
"codeproject.freetls.fastly.net",
|
||||||
|
"codeproject.global.ssl.fastly.net"
|
||||||
|
]
|
||||||
Loading…
Reference in New Issue
Block a user