@dynacom/core
Advanced tools
Comparing version 1.1.5 to 1.1.6
@@ -34,3 +34,13 @@ const fs = require( 'fs' ); | ||
SNICallback: ( domain, callback ) => { | ||
callback( null, this.domains[ domain ].SecureContext ); | ||
let domainIndex = 0; | ||
while ( domainIndex < this.domains.length ) { | ||
if ( null == this.domains[ domainIndex ].port || this.domains[ domainIndex ].port.includes( port ) ) { | ||
let domainPattern = null; | ||
if ( domainPattern = this.domains[ domainIndex ].pattern.match( domain ) ) { | ||
break; | ||
} | ||
} | ||
domainIndex++; | ||
} | ||
callback( null, this.domains[ domainIndex ].SecureContext ); | ||
} | ||
@@ -37,0 +47,0 @@ , } ); |
@@ -10,3 +10,3 @@ { | ||
, "name": "@dynacom/core" | ||
, "version": "1.1.5" | ||
, "version": "1.1.6" | ||
, "repository": { | ||
@@ -13,0 +13,0 @@ "type": "git" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19588
407