mirror of
https://github.com/umami-software/umami.git
synced 2026-02-09 15:17:23 +01:00
Merge pull request #630 from Wonderfall/fix-page-filter
Fix Pages filter when URL has a trailing slash
This commit is contained in:
commit
fdbb5fcce7
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue