Remove console.log
Alan Pearce alan@alanpearce.eu
Wed, 13 Sep 2023 12:19:56 +0200
1 files changed, 0 insertions(+), 4 deletions(-)
jump to
M src/index.ts → src/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,