Skip to content

Commit

Permalink
Slightly better wording
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Johnson committed Aug 12, 2022
1 parent ac36c51 commit 18662a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redirects.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ func ParseString(s string) ([]Rule, error) {
func parseStatus(s string) (code int, err error) {
if strings.HasSuffix(s, "!") {
// See https://docs.netlify.com/routing/redirects/rewrites-proxies/#shadowing
return -1, fmt.Errorf("forced redirects (and \"shadowing\") are not supported by IPFS gateways")
return -1, fmt.Errorf("forced redirects (or \"shadowing\") are not supported by IPFS gateways")
}

code, err = strconv.Atoi(s)
Expand Down

0 comments on commit 18662a1

Please sign in to comment.