about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2023-09-25 14:02:52 +0200
committerAlan Pearce2023-09-25 14:02:52 +0200
commit59867fca4c1a377aea90eb89f86d3ad01083b7c4 (patch)
tree79e56ed1669979402694f3b1046abccf85d04ca9
parent02c7b71eaf30b65a6dda921f3414dbd87d2c76cf (diff)
downloadwebsite-59867fca4c1a377aea90eb89f86d3ad01083b7c4.tar.lz
website-59867fca4c1a377aea90eb89f86d3ad01083b7c4.tar.zst
website-59867fca4c1a377aea90eb89f86d3ad01083b7c4.zip
Fix doubled metrics
-rw-r--r--src/app.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/app.ts b/src/app.ts
index e03f50e..61e62bc 100644
--- a/src/app.ts
+++ b/src/app.ts
@@ -142,7 +142,6 @@ export const server = {
     });
     try {
       const file = files.get(pathname);
-      metrics.requests.inc({ path: pathname });
       if (file && (await file.handle.exists())) {
         if (
           parseIfModifiedSinceHeader(