From 3e6f5de92f7ee0ddbdc1184d490ae0e6bcc7ee96 Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Tue, 31 Mar 2015 23:57:09 -0600 Subject: [PATCH] Renamed redirect -> redir --- config/middleware.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/middleware.go b/config/middleware.go index f28ee797..23fc0f46 100644 --- a/config/middleware.go +++ b/config/middleware.go @@ -42,7 +42,7 @@ func init() { register("errors", errors.New) register("header", headers.New) register("rewrite", rewrite.New) - register("redirect", redirect.New) + register("redir", redirect.New) register("ext", extensionless.New) register("proxy", proxy.New) register("fastcgi", fastcgi.New)