minor tweaks, updated readme

This commit is contained in:
mgudesblatart
2018-03-01 13:16:13 -05:00
parent 96adea37d9
commit b8664d2bc9
2 changed files with 15 additions and 2 deletions
-1
View File
@@ -17,7 +17,6 @@ function GetClientIdFromHostname(hostname,opt) {
const subHosts = Array.isArray(opt.subHost)
? opt.subHost : [opt.subHost]
const subHost = subHosts.reduce((found, sub) => {
sub = sub.replace(/\./g,'');
return found + (_subdomain.includes(sub) ? sub : '');
},'')
subdomain = subHost.length > 0