summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2023-09-13 12:19:56 +0200
committerAlan Pearce2023-09-13 12:19:56 +0200
commitbdaab2de153d5835c34445f607a9c8d649ba08f4 (patch)
tree35a0d8848396bf99614189b63883ed483590323a
parent2c41c45c48761ee8d7bb503c6966edb00b82457d (diff)
downloadwebsite-bdaab2de153d5835c34445f607a9c8d649ba08f4.tar.lz
website-bdaab2de153d5835c34445f607a9c8d649ba08f4.tar.zst
website-bdaab2de153d5835c34445f607a9c8d649ba08f4.zip
Remove console.log
-rw-r--r--src/index.ts4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/index.ts b/src/index.ts
index 7188e6c..60d7bb7 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -118,10 +118,6 @@ export default {
         .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,