diff options
Diffstat (limited to 'cmd/web.go')
-rw-r--r-- | cmd/web.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd/web.go b/cmd/web.go index ec92ef242a..9a8d9dfa73 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -71,8 +71,7 @@ func runHTTPRedirector() { http.Redirect(w, r, target, http.StatusTemporaryRedirect) }) - var err = runHTTP("tcp", source, "HTTP Redirector", handler) - + err := runHTTP("tcp", source, "HTTP Redirector", handler) if err != nil { log.Fatal("Failed to start port redirection: %v", err) } |