Listen 'address' for Web

This commit is contained in:
Bryan Ashby 2019-04-09 20:25:03 -06:00
parent d54338c46e
commit 3460b98bf5
No known key found for this signature in database
GPG Key ID: B49EB437951D2542
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ exports.getModule = class WebServerModule extends ServerModule {
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);
});
} else {