]> Sergey Matveev's repositories - tofuproxy.git/blobdiff - rounds/denyFonts.go
Various refactoring
[tofuproxy.git] / rounds / denyFonts.go
index 4fe1195197dc0a6167276bbe171f6370f26d34ed..a460c119e84027f574872b5961a6d308a6d3c767 100644 (file)
@@ -1,5 +1,6 @@
 /*
-tofuproxy -- HTTP proxy with TLS certificates management
+tofuproxy -- flexible HTTP/HTTPS proxy, TLS terminator, X.509 TOFU
+             manager, WARC/geminispace browser
 Copyright (C) 2021 Sergey Matveev <stargrave@stargrave.org>
 
 This program is free software: you can redistribute it and/or modify
@@ -36,12 +37,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
        }