mirror of
https://github.com/bitwarden/browser
synced 2026-02-10 05:30:01 +00:00
Aggregating urls by base domain
This commit is contained in:
@@ -428,7 +428,7 @@ export class RiskInsightsReportService {
|
||||
const cipherUris: string[] = [];
|
||||
const uris = cipher.login?.uris ?? [];
|
||||
uris.map((u: { uri: string }) => {
|
||||
const uri = Utils.getHostname(u.uri).replace("www.", "");
|
||||
const uri = Utils.getDomain(u.uri);
|
||||
if (!cipherUris.includes(uri)) {
|
||||
cipherUris.push(uri);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user