diff options
author | Alan Pearce | 2023-09-25 14:02:52 +0200 |
---|---|---|
committer | Alan Pearce | 2023-09-25 14:02:52 +0200 |
commit | 59867fca4c1a377aea90eb89f86d3ad01083b7c4 (patch) | |
tree | 79e56ed1669979402694f3b1046abccf85d04ca9 /src/app.ts | |
parent | 02c7b71eaf30b65a6dda921f3414dbd87d2c76cf (diff) | |
download | website-59867fca4c1a377aea90eb89f86d3ad01083b7c4.tar.lz website-59867fca4c1a377aea90eb89f86d3ad01083b7c4.tar.zst website-59867fca4c1a377aea90eb89f86d3ad01083b7c4.zip |
Fix doubled metrics
Diffstat (limited to 'src/app.ts')
-rw-r--r-- | src/app.ts | 1 |
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( |