all repos — archive/homestead @ bdaab2de153d5835c34445f607a9c8d649ba08f4

My future indieweb platform

Remove console.log
Alan Pearce alan@alanpearce.eu
Wed, 13 Sep 2023 12:19:56 +0200
commit

bdaab2de153d5835c34445f607a9c8d649ba08f4

parent

2c41c45c48761ee8d7bb503c6966edb00b82457d

1 files changed, 0 insertions(+), 4 deletions(-)

jump to
M src/index.tssrc/index.ts
@@ -118,10 +118,6 @@ const encodings = (request.headers.get("accept-encoding") || "")         .split(",")
         .map((x) => x.trim().toLowerCase());
       if (encodings.includes("br") && files.has(file.relPath + ".br")) {
-        console.log(
-          "Using br encoding for user agent",
-          request.headers.get("user-agent"),
-        );
         return serveEncodedFile(files.get(file.relPath + ".br"), 200, {
           "content-encoding": "br",
           "content-type": file.handle.type,