diff options
-rw-r--r-- | lib/app.js | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -54,7 +54,8 @@ App.prototype.go = function () { http.createServer(function (req, res) { new Serve(self, req, res).go() }).listen(self.port, self.host, function () { - self.log('Listening on http://' + self.host + ':' + self.port) + var host = /:/.test(self.host) ? '[' + self.host + ']' : self.host + self.log('Listening on http://' + host + ':' + self.port) }) // invalidate cached About info when new About messages come in |