1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-13 01:58:44 +02:00

rename enum from basedomain => domain

This commit is contained in:
Kyle Spearrin 2018-03-02 13:50:26 -05:00
parent 0d80216921
commit 913336280a
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
export enum UriMatchType { export enum UriMatchType {
BaseDomain = 0, Domain = 0,
Host = 1, Host = 1,
StartsWith = 2, StartsWith = 2,
Exact = 3, Exact = 3,

View File

@ -215,7 +215,7 @@ export class CipherService implements CipherServiceAbstraction {
switch (u.match) { switch (u.match) {
case null: case null:
case undefined: case undefined:
case UriMatchType.BaseDomain: case UriMatchType.Domain:
if (domain != null && u.domain != null && matchingDomains.indexOf(u.domain) > -1) { if (domain != null && u.domain != null && matchingDomains.indexOf(u.domain) > -1) {
return true; return true;
} }