Update src/vector/platform/WebPlatform.ts

This commit is contained in:
Michael Telatynski
2021-02-11 16:27:30 +00:00
committed by GitHub
parent 92a5787528
commit e15d1c1501

View File

@@ -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";