]> Sergey Matveev's repositories - tofuproxy.git/blobdiff - rounds/denyFonts.go
Ability to remove hosts from the states, refactoring
[tofuproxy.git] / rounds / denyFonts.go
index 4fe1195197dc0a6167276bbe171f6370f26d34ed..ad55310b58d0ca1006abafbf3f325d24478ef1a5 100644 (file)
@@ -36,12 +36,7 @@ func RoundDenyFonts(
                fallthrough
        case "font/otf", "font/ttf", "font/woff", "font/woff2":
                http.NotFound(w, req)
-               fifos.SinkOther <- fmt.Sprintf(
-                       "%s %s\t%d\tdeny fonts",
-                       req.Method,
-                       req.URL.String(),
-                       http.StatusNotFound,
-               )
+               fifos.LogVarious <- fmt.Sprintf("%s %s\tdeny fonts", req.Method, req.URL)
                resp.Body.Close()
                return false, nil
        }