mirror of
https://github.com/bitwarden/jslib
synced 2025-12-11 05:43:18 +00:00
rename enum from basedomain => domain
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
export enum UriMatchType {
|
||||
BaseDomain = 0,
|
||||
Domain = 0,
|
||||
Host = 1,
|
||||
StartsWith = 2,
|
||||
Exact = 3,
|
||||
|
||||
@@ -215,7 +215,7 @@ export class CipherService implements CipherServiceAbstraction {
|
||||
switch (u.match) {
|
||||
case null:
|
||||
case undefined:
|
||||
case UriMatchType.BaseDomain:
|
||||
case UriMatchType.Domain:
|
||||
if (domain != null && u.domain != null && matchingDomains.indexOf(u.domain) > -1) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user