Update src/vector/platform/WebPlatform.ts
parent
92a5787528
commit
e15d1c1501
|
@ -189,7 +189,7 @@ export default class WebPlatform extends VectorBasePlatform {
|
||||||
const appName = [
|
const appName = [
|
||||||
url.host,
|
url.host,
|
||||||
url.pathname.replace(/\/$/, ""), // Remove trailing slash if present
|
url.pathname.replace(/\/$/, ""), // Remove trailing slash if present
|
||||||
].join('');
|
].join("");
|
||||||
|
|
||||||
const ua = new UAParser();
|
const ua = new UAParser();
|
||||||
const browserName = ua.getBrowser().name || "unknown browser";
|
const browserName = ua.getBrowser().name || "unknown browser";
|
||||||
|
|
Loading…
Reference in New Issue