mirror of
https://github.com/vector-im/element-web.git
synced 2025-10-07 21:41:47 +02:00
Update src/vector/platform/WebPlatform.ts
This commit is contained in:
parent
92a5787528
commit
e15d1c1501
@ -189,7 +189,7 @@ export default class WebPlatform extends VectorBasePlatform {
|
||||
const appName = [
|
||||
url.host,
|
||||
url.pathname.replace(/\/$/, ""), // Remove trailing slash if present
|
||||
].join('');
|
||||
].join("");
|
||||
|
||||
const ua = new UAParser();
|
||||
const browserName = ua.getBrowser().name || "unknown browser";
|
||||
|
Loading…
x
Reference in New Issue
Block a user