Report pathname
This commit is contained in:
+2
-2
@@ -36,8 +36,8 @@ function getRedactedHash(hash) {
|
|||||||
|
|
||||||
// Return the current origin and hash separated with a `/`. This does not include query parameters.
|
// Return the current origin and hash separated with a `/`. This does not include query parameters.
|
||||||
function getRedactedUrl() {
|
function getRedactedUrl() {
|
||||||
const { origin, hash } = window.location;
|
const { origin, pathname, hash } = window.location;
|
||||||
return origin + '/' + getRedactedHash(hash);
|
return origin + pathname + getRedactedHash(hash);
|
||||||
}
|
}
|
||||||
|
|
||||||
const customVariables = {
|
const customVariables = {
|
||||||
|
|||||||
Reference in New Issue
Block a user