mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 12:47:13 +01:00
fixup! Rename ref to prevent collision with react elements
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
This commit is contained in:
parent
35f9c7ef6c
commit
5d799a327b
1 changed files with 1 additions and 1 deletions
|
|
@ -74,7 +74,7 @@ export const refFilter = (data, { domain, domainOnly, raw }) => {
|
|||
|
||||
if (protocol.startsWith('http')) {
|
||||
const path = removeTrailingSlash(pathname);
|
||||
const referrer = searchParams.get('ref');
|
||||
const referrer = searchParams.get('referrer');
|
||||
const query = referrer ? `?referrer=${referrer}` : '';
|
||||
|
||||
return removeTrailingSlash(`${removeWWW(hostname)}${path}`) + query;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue