提交 b7be85e8ec7e73e897b9a56da8e1449c910c61b9
1 个父辈
1d96f445
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() |
请
注册
或
登录
后发表评论