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 {
BaseDomain = 0,
Domain = 0,
Host = 1,
StartsWith = 2,
Exact = 3,

View File

@ -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;
}