From 05d7b3c464c7a4685cd4a4b58472c2602e75a77b Mon Sep 17 00:00:00 2001 From: xljiulang <366193849@qq.com> Date: Sun, 18 Jul 2021 02:04:49 +0800 Subject: [PATCH] =?UTF-8?q?=E5=87=8F=E5=B0=91=E7=BC=93=E5=AD=98=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FastGithub.Core/FastGithubConfig.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } ///