Skip to content
This repository was archived by the owner on Aug 29, 2023. It is now read-only.

Commit 7702646

Browse files
authored
fix(log): log the bound port and host (#117)
1 parent 7c977d3 commit 7702646

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/listener.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ module.exports = ({ handler, upgrader }, options) => {
5959
const { host, port } = listeningAddr.toOptions()
6060
server.listen(port, host, err => {
6161
if (err) return reject(err)
62-
log('Listening on %s %s', port, host)
62+
log('Listening on %s', server.address())
6363
resolve()
6464
})
6565
})

0 commit comments

Comments
 (0)