From 9b7c66e9644594fa04a5b88ee37583093b9b84dd Mon Sep 17 00:00:00 2001 From: cel Date: Tue, 29 Jan 2019 00:11:45 -1000 Subject: Omit default ssb-server port --- lib/render-msg.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/render-msg.js') diff --git a/lib/render-msg.js b/lib/render-msg.js index 9e33be6..2f265b9 100644 --- a/lib/render-msg.js +++ b/lib/render-msg.js @@ -751,7 +751,7 @@ RenderMsg.prototype.pub = function (cb) { if (err) return cb(err) self.wrapMini([ 'connects to ', pubLink, ' at ', - h('code', addr.host + ':' + addr.port)], cb) + h('code', addr.host + (addr.port === self.app.ssbPort ? '' : ':' + addr.port))], cb) }) } -- cgit v1.2.3