reverted to baseurl and route path

This commit is contained in:
Miodec 2022-09-23 20:27:28 +02:00
parent e0b9a63ec5
commit c29ac5ff44

View file

@ -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 !== "/") {