diff options
author | Joe Mooring <joe.mooring@veriphor.com> | 2020-09-19 16:00:21 -0400 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2020-09-19 22:06:54 +0200 |
commit | 473b6610d51d4a33ba35917f95b0d97ea78dad2b (patch) | |
tree | 0b794f8f9480818ea376e10e77f75f52d7212de1 /config | |
parent | 0bce97703c17318b13b95d78ba41f40efb06aea7 (diff) |
Fix typo in redirect error message
Diffstat (limited to 'config')
-rw-r--r-- | config/commonConfig.go | 2 |
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 } |