Updated pages and referrer filters to merge urls.

This commit is contained in:
Mike Cao 2020-08-22 19:05:07 -07:00
parent e75593443a
commit 3a515b56b2
21 changed files with 342 additions and 137 deletions

View file

@ -62,3 +62,7 @@ export function formatLongNumber(value) {
return formatNumber(n);
}
export function removeTrailingSlash(url) {
return url.length > 1 && url.endsWith('/') ? url.slice(0, -1) : url;
}