allow undefined domains option

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

View File

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