diff --git a/FastGithub.Core/FastGithubConfig.cs b/FastGithub.Core/FastGithubConfig.cs index 003b7b3..af47a19 100644 --- a/FastGithub.Core/FastGithubConfig.cs +++ b/FastGithub.Core/FastGithubConfig.cs @@ -66,7 +66,7 @@ namespace FastGithub /// public bool IsMatch(string domain) { - return this.TryGetDomainConfig(domain, out _); + return this.DomainConfigs.Keys.Any(item => item.IsMatch(domain)); } ///