提交 5cb75b7f1730405d9d3298cbf4de0d7eb09656c4

作者 niftylettuce
2 个父辈 1d96f445 b7be85e8

Merge pull request #29 from drFabio/server-Availability

Added http server available on boot/server
正在显示 1 个修改的文件 包含 1 行增加1 行删除
@@ -47,7 +47,7 @@ exports = module.exports = function(logger, settings) { @@ -47,7 +47,7 @@ exports = module.exports = function(logger, settings) {
47 47
48 } else { 48 } else {
49 49
50 - this.server.listen(settings.server.port, settings.server.host, function() { 50 + this.httpServer = this.server.listen(settings.server.port, settings.server.host, function() {
51 var addr = this.address() 51 var addr = this.address()
52 logger.info('app listening on %s:%d', addr.address, addr.port) 52 logger.info('app listening on %s:%d', addr.address, addr.port)
53 done() 53 done()
注册登录 后发表评论