From: Joe Mooring Date: Sat, 19 Sep 2020 20:00:21 +0000 (-0400) Subject: Fix typo in redirect error message X-Git-Tag: v0.76.0~27 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=473b6610d51d4a33ba35917f95b0d97ea78dad2b;p=brevno-suite%2Fhugo Fix typo in redirect error message --- diff --git a/config/commonConfig.go b/config/commonConfig.go index 6444c03a..ac82dc3b 100644 --- a/config/commonConfig.go +++ b/config/commonConfig.go @@ -206,7 +206,7 @@ func DecodeServer(cfg Provider) (*Server, error) { // There are some tricky infinite loop situations when dealing // when the target does not have a trailing slash. // This can certainly be handled better, but not time for that now. - return nil, errors.Errorf("unspported redirect to value %q in server config; currently this must be either a remote destination or a local folder, e.g. \"/blog/\" or \"/blog/index.html\"", redir.To) + return nil, errors.Errorf("unsupported redirect to value %q in server config; currently this must be either a remote destination or a local folder, e.g. \"/blog/\" or \"/blog/index.html\"", redir.To) } s.Redirects[i] = redir }