diff --git a/backend/api/routes/index.ts b/backend/api/routes/index.ts index 2a9d2a128..d5628bf72 100644 --- a/backend/api/routes/index.ts +++ b/backend/api/routes/index.ts @@ -47,8 +47,10 @@ function addApiRoutes(app: Application): void { return; } - const clientVersion = req.headers["client-version"]; - recordClientVersion(clientVersion?.toString() ?? "unknown"); + if (req.path === "/psas") { + const clientVersion = req.headers["client-version"]; + recordClientVersion(clientVersion?.toString() ?? "unknown"); + } requestsProcessed++; next();