allow undefined domains option
This commit is contained in:
parent
c9d83437e1
commit
97f731ebb8
|
@ -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;
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue