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

Commit

Permalink
fix(log): log the bound port and host (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobheun authored Oct 2, 2019
1 parent 7c977d3 commit 7702646
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/listener.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ module.exports = ({ handler, upgrader }, options) => {
const { host, port } = listeningAddr.toOptions()
server.listen(port, host, err => {
if (err) return reject(err)
log('Listening on %s %s', port, host)
log('Listening on %s', server.address())
resolve()
})
})
Expand Down

0 comments on commit 7702646

Please sign in to comment.