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

Merge pull request #630 from Wonderfall/fix-page-filter

Fix Pages filter when URL has a trailing slash
This commit is contained in:
Mike Cao
2021-04-24 21:19:14 -07:00
committed by GitHub

View File

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