Fix typo in redirect error message

This commit is contained in:
Joe Mooring 2020-09-19 16:00:21 -04:00 committed by Bjørn Erik Pedersen
parent 0bce97703c
commit 473b6610d5
1 changed files with 1 additions and 1 deletions

View File

@ -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
}