Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorJoe Mooring <joe.mooring@veriphor.com>2020-09-19 23:00:21 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2020-09-19 23:06:54 +0300
commit473b6610d51d4a33ba35917f95b0d97ea78dad2b (patch)
tree0b794f8f9480818ea376e10e77f75f52d7212de1 /config
parent0bce97703c17318b13b95d78ba41f40efb06aea7 (diff)
Fix typo in redirect error message
Diffstat (limited to 'config')
-rw-r--r--config/commonConfig.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/commonConfig.go b/config/commonConfig.go
index 6444c03ad..ac82dc3bc 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
}