Listen 'address' for Web
This commit is contained in:
parent
d54338c46e
commit
3460b98bf5
|
@ -138,7 +138,7 @@ exports.getModule = class WebServerModule extends ServerModule {
|
||||||
return nextService(Errors.Invalid(`Invalid port: ${config.contentServers.web[service].port}`));
|
return nextService(Errors.Invalid(`Invalid port: ${config.contentServers.web[service].port}`));
|
||||||
}
|
}
|
||||||
|
|
||||||
this[name].listen(port, err => {
|
this[name].listen(port, config.contentServers.web[service].address, err => {
|
||||||
return nextService(err);
|
return nextService(err);
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue