From 59867fca4c1a377aea90eb89f86d3ad01083b7c4 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 25 Sep 2023 14:02:52 +0200 Subject: Fix doubled metrics --- src/app.ts | 1 - 1 file changed, 1 deletion(-) (limited to 'src/app.ts') 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( -- cgit 1.4.1