]> Sergey Matveev's repositories - tofuproxy.git/blobdiff - rounds/redirectHTML.go
Ability to remove hosts from the states, refactoring
[tofuproxy.git] / rounds / redirectHTML.go
index e92a4f9bd03f80c9c4e508513fb2bb0bd07f7e56..2bf4ce2b25b7d2dca6ecc1409c557fd3756d5ac1 100644 (file)
@@ -82,8 +82,8 @@ func RoundRedirectHTML(
                        resp.StatusCode, http.StatusText(resp.StatusCode),
                        redirType, location, location,
                )))
-       fifos.SinkRedir <- fmt.Sprintf(
-               "%s %s\t%s\t%s", req.Method, resp.Status, req.URL.String(), location,
+       fifos.LogRedir <- fmt.Sprintf(
+               "%s %s\t%s\t%s", req.Method, req.URL, resp.Status, location,
        )
        return false, nil
 }