mirror of
https://github.com/element-hq/element-web
synced 2024-11-26 19:26:04 +03:00
Report pathname
This commit is contained in:
parent
3957222da3
commit
53016fa16e
1 changed files with 2 additions and 2 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue