mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-09-20 15:26:15 +08:00
reverted to baseurl and route path
This commit is contained in:
parent
e0b9a63ec5
commit
c29ac5ff44
|
@ -216,7 +216,7 @@ export function recordRequestCountry(
|
|||
country: string,
|
||||
req: MonkeyTypes.Request
|
||||
): void {
|
||||
const reqPath = req.url;
|
||||
const reqPath = req.baseUrl + req.route.path;
|
||||
|
||||
let normalizedPath = "/";
|
||||
if (reqPath !== "/") {
|
||||
|
|
Loading…
Reference in a new issue