mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-05 20:26:19 +02:00
Remove base domain from instance name
This commit is contained in:
parent
d13ade6f89
commit
5294349dc3
@ -208,7 +208,7 @@ class Analytics {
|
||||
if (hostname === 'riot.im') {
|
||||
this._setVisitVariable('Instance', window.location.pathname);
|
||||
} else if (hostname.endsWith('.element.io')) {
|
||||
this._setVisitVariable('Instance', hostname);
|
||||
this._setVisitVariable('Instance', hostname.replace('.element.io', ''));
|
||||
}
|
||||
|
||||
let installedPWA = "unknown";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user