Skip to content

Commit

Permalink
Merge pull request umami-software#630 from Wonderfall/fix-page-filter
Browse files Browse the repository at this point in the history
Fix Pages filter when URL has a trailing slash
  • Loading branch information
mikecao committed Apr 25, 2021
2 parents c9c158d + 807cd5d commit fdbb5fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/filters.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const urlFilter = (data, { raw }) => {
return `${pathname}${search}`;
}

return removeTrailingSlash(pathname);
return pathname;
} catch {
return null;
}
Expand Down

0 comments on commit fdbb5fc

Please sign in to comment.