mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-25 23:35:02 +08:00
tracking unknown version
This commit is contained in:
parent
e323e876bf
commit
e9a37e0598
1 changed files with 2 additions and 4 deletions
|
@ -47,10 +47,8 @@ function addApiRoutes(app: Application): void {
|
|||
return;
|
||||
}
|
||||
|
||||
const clientVersion = req.headers["client-version"];
|
||||
if (clientVersion) {
|
||||
recordClientVersion(clientVersion.toString());
|
||||
}
|
||||
const clientVersion = req.headers["client-versio"];
|
||||
recordClientVersion(clientVersion?.toString() ?? "unknown");
|
||||
|
||||
requestsProcessed++;
|
||||
next();
|
||||
|
|
Loading…
Reference in a new issue