diff options
author | Vladimir Shushlin <v.shushlin@gmail.com> | 2022-01-20 12:31:20 +0300 |
---|---|---|
committer | Vladimir Shushlin <v.shushlin@gmail.com> | 2022-01-20 12:31:20 +0300 |
commit | 61cde0914d4d548c2d1044ee2b44d47b9126d309 (patch) | |
tree | f4241b6080a622f8fb9050803d813ae6863b9391 /internal/redirects | |
parent | c3c641c7b03c54fcc4c66e841c723cc08887a683 (diff) |
fix: fix error message for disabled placeholders
Diffstat (limited to 'internal/redirects')
-rw-r--r-- | internal/redirects/redirects.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/redirects/redirects.go b/internal/redirects/redirects.go index 1de02b61..11a85d66 100644 --- a/internal/redirects/redirects.go +++ b/internal/redirects/redirects.go @@ -46,8 +46,8 @@ var ( errFailedToParseURL = errors.New("unable to parse URL") errNoDomainLevelRedirects = errors.New("no domain-level redirects to outside sites") errNoStartingForwardSlashInURLPath = errors.New("url path must start with forward slash /") - errNoSplats = errors.New("splats are not supported") - errNoPlaceholders = errors.New("placeholders are not supported") + errNoSplats = errors.New("splats are not enabled. See https://docs.gitlab.com/ee/user/project/pages/redirects.html#feature-flag-for-rewrites") + errNoPlaceholders = errors.New("placeholders are not enabled. See https://docs.gitlab.com/ee/user/project/pages/redirects.html#feature-flag-for-rewrites") errNoParams = errors.New("params not supported") errUnsupportedStatus = errors.New("status not supported") errNoForce = errors.New("force! not supported") |