Report pathname

This commit is contained in:
Luke Barnard 2018-04-25 16:21:30 +01:00
parent 3957222da3
commit 53016fa16e

View file

@ -36,8 +36,8 @@ function getRedactedHash(hash) {
// Return the current origin and hash separated with a `/`. This does not include query parameters.
function getRedactedUrl() {
const { origin, hash } = window.location;
return origin + '/' + getRedactedHash(hash);
const { origin, pathname, hash } = window.location;
return origin + pathname + getRedactedHash(hash);
}
const customVariables = {