Update src/vector/platform/WebPlatform.ts

pull/16415/head
Michael Telatynski 2021-02-11 16:27:30 +00:00 committed by GitHub
parent 92a5787528
commit e15d1c1501
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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