减少缓存项
This commit is contained in:
parent
33eb6ff6b0
commit
05d7b3c464
@ -66,7 +66,7 @@ namespace FastGithub
|
|||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public bool IsMatch(string domain)
|
public bool IsMatch(string domain)
|
||||||
{
|
{
|
||||||
return this.TryGetDomainConfig(domain, out _);
|
return this.DomainConfigs.Keys.Any(item => item.IsMatch(domain));
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user