Merge branch '0.0.10-alpha' of ssh://numinibsd/git/base/enigma-bbs into security-updates
This commit is contained in:
@@ -113,7 +113,7 @@ exports.getModule = class GopherModule extends ServerModule {
|
||||
return cb(Errors.Invalid(`Invalid port: ${config.contentServers.gopher.port}`));
|
||||
}
|
||||
|
||||
return this.server.listen(port, cb);
|
||||
return this.server.listen(port, config.contentServers.gopher.address, cb);
|
||||
}
|
||||
|
||||
get enabled() {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user