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