diff options
Diffstat (limited to 'internal/redirects/matching.go')
-rw-r--r-- | internal/redirects/matching.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/redirects/matching.go b/internal/redirects/matching.go index a75255bb..25e2ce2e 100644 --- a/internal/redirects/matching.go +++ b/internal/redirects/matching.go @@ -103,7 +103,7 @@ func matchesRule(rule *netlifyRedirects.Rule, path string) (bool, string) { // If no rule matches, this function returns `nil` and an empty string func (r *Redirects) match(path string) (*netlifyRedirects.Rule, string) { for i := range r.rules { - if i >= maxRuleCount { + if i >= cfg.MaxRuleCount { // do not process any more rules return nil, "" } |