ignore domain case in route rules

This commit is contained in:
Dmitry R
2023-02-02 13:14:43 +06:00
committed by 世界
parent fe492904e9
commit 5d41e328d4
3 changed files with 3 additions and 1 deletions

View File

@@ -53,7 +53,7 @@ func (r *DomainItem) Match(metadata *adapter.InboundContext) bool {
if domainHost == "" {
return false
}
return r.matcher.Match(domainHost)
return r.matcher.Match(strings.ToLower(domainHost))
}
func (r *DomainItem) String() string {