aboutsummaryrefslogtreecommitdiff
path: root/lib/render-msg.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/render-msg.js')
-rw-r--r--lib/render-msg.js2
1 files changed, 1 insertions, 1 deletions
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)
})
}