mirror of
https://github.com/kremalicious/umami.git
synced 2025-02-14 21:10:34 +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
@ -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…
x
Reference in New Issue
Block a user