Fix typo in redirect error message
authorJoe Mooring <joe.mooring@veriphor.com>
Sat, 19 Sep 2020 20:00:21 +0000 (16:00 -0400)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sat, 19 Sep 2020 20:06:54 +0000 (22:06 +0200)
config/commonConfig.go

index 6444c03ad266bd1aef6b75ba14ad920d21ae6cf4..ac82dc3bc98c3059098049b32b8078b032904b1e 100644 (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
        }