allow undefined domains option

This commit is contained in:
AJ ONeal 2017-03-29 13:19:52 -06:00
parent 488750b19b
commit aea2daa15f
1 changed files with 1 additions and 1 deletions

View File

@ -181,7 +181,7 @@ function daplieTunnel() {
var domainsMap = {}; var domainsMap = {};
program.locals = program.locals.concat(program.domains); program.locals = program.locals.concat(program.domains || []);
program.locals.forEach(function (proxy) { program.locals.forEach(function (proxy) {
domainsMap[proxy.hostname] = true; domainsMap[proxy.hostname] = true;
}); });