diff options
-rw-r--r-- | internal/redirects/redirects.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/redirects/redirects.go b/internal/redirects/redirects.go index 5d901505..f92a5806 100644 --- a/internal/redirects/redirects.go +++ b/internal/redirects/redirects.go @@ -43,7 +43,7 @@ var ( errNoParams = errors.New("params not supported") errUnsupportedStatus = errors.New("status not supported") errNoForce = errors.New("force! not supported") - errTooManyPathSegments = fmt.Errorf("url path cannot contain more than %d forward slashes", cfg.MaxConfigSize) + errTooManyPathSegments = errors.New("url path contains more forward slashes than the configured maximum") regexpPlaceholder = regexp.MustCompile(`(?i)/:[a-z]+`) ) |