mirror of
https://github.com/umami-software/umami.git
synced 2026-02-09 23:27:12 +01:00
Domain validation. Filter domain from referrers.
This commit is contained in:
parent
a9765c7ea7
commit
5a4cde854a
13 changed files with 51 additions and 23 deletions
|
|
@ -62,7 +62,3 @@ export function formatLongNumber(value) {
|
|||
|
||||
return formatNumber(n);
|
||||
}
|
||||
|
||||
export function removeTrailingSlash(url) {
|
||||
return url.length > 1 && url.endsWith('/') ? url.slice(0, -1) : url;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue