mirror of
https://github.com/kremalicious/umami.git
synced 2024-12-18 15:23:38 +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
@ -18,7 +18,7 @@ export const urlFilter = (data, { raw }) => {
|
||||
return `${pathname}${search}`;
|
||||
}
|
||||
|
||||
return removeTrailingSlash(pathname);
|
||||
return pathname;
|
||||
} catch {
|
||||
return null;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user