fix
This commit is contained in:
parent
19e5530a18
commit
e8305a3e55
1 changed files with 3 additions and 2 deletions
|
@ -123,8 +123,9 @@ module.exports = callback => {
|
||||||
if (pos >= hosts.length) {
|
if (pos >= hosts.length) {
|
||||||
return setImmediate(callback);
|
return setImmediate(callback);
|
||||||
}
|
}
|
||||||
server.listen(config.verp.port, () => {
|
let host = hosts[pos++];
|
||||||
log.info('VERP', 'Server listening on %s:%s', config.verp.host || '*', config.verp.port);
|
server.listen(config.verp.port, host, () => {
|
||||||
|
log.info('VERP', 'Server listening on %s:%s', host || '*', config.verp.port);
|
||||||
setImmediate(startNextHost);
|
setImmediate(startNextHost);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue