dont leak domain for now

jryans/remove-brand
Bruno Windels 2020-06-30 17:06:10 +02:00
parent c9c402310a
commit 8e3d1407c0
1 changed files with 2 additions and 0 deletions

View File

@ -173,6 +173,8 @@ export default class WebPlatform extends VectorBasePlatform {
} }
getDefaultDeviceDisplayName(): string { getDefaultDeviceDisplayName(): string {
return "unknown browser";
// strip query-string and fragment from uri // strip query-string and fragment from uri
const u = url.parse(window.location.href); const u = url.parse(window.location.href);
u.protocol = ""; u.protocol = "";