1
0
mirror of https://github.com/mikecao/umami.git synced 2021-05-17 18:46:32 +03:00

Fix Page Filter when URL has a trailing slash

This commit is contained in:
Wonderfall
2021-04-19 01:43:09 +02:00
committed by GitHub
parent c5d23867f5
commit 807cd5d744

View File

@@ -18,7 +18,7 @@ export const urlFilter = (data, { raw }) => {
return `${pathname}${search}`;
}
return removeTrailingSlash(pathname);
return pathname;
} catch {
return null;
}