hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit 473b6610d51d4a33ba35917f95b0d97ea78dad2b
parent 0bce97703c17318b13b95d78ba41f40efb06aea7
Author: Joe Mooring <joe.mooring@veriphor.com>
Date:   Sat, 19 Sep 2020 16:00:21 -0400

Fix typo in redirect error message

Diffstat:
Mconfig/commonConfig.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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
 	}