From d87ecfd20ffb6f50c036ecd108f60c62d565fc29 Mon Sep 17 00:00:00 2001 From: Solderpunk Date: Wed, 1 Jul 2020 16:19:38 +0200 Subject: [PATCH] gofmt. --- handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handler.go b/handler.go index c85d5d5..bc6212b 100644 --- a/handler.go +++ b/handler.go @@ -249,7 +249,7 @@ func handleRedirectsInner(URL *url.URL, redirects map[string]string, status int, for src, dst := range redirects { compiled, err := regexp.Compile(src) if err != nil { - continue + continue } if compiled.MatchString(URL.Path) { URL.Path = compiled.ReplaceAllString(URL.Path, dst)