mirror of
https://github.com/kremalicious/umami.git
synced 2024-12-18 15:23:38 +01:00
Fix Page Filter when URL has a trailing slash
This commit is contained in:
parent
c5d23867f5
commit
807cd5d744
@ -18,7 +18,7 @@ export const urlFilter = (data, { raw }) => {
|
|||||||
return `${pathname}${search}`;
|
return `${pathname}${search}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
return removeTrailingSlash(pathname);
|
return pathname;
|
||||||
} catch {
|
} catch {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user