show express url when debugging

This commit is contained in:
lesion 2018-08-26 23:42:26 +02:00
parent 36ddeab64e
commit a418c4e86c
No known key found for this signature in database
GPG key ID: 352918250B012177

View file

@ -86,5 +86,5 @@ function onListening() {
var bind = typeof addr === 'string' var bind = typeof addr === 'string'
? 'pipe ' + addr ? 'pipe ' + addr
: 'port ' + addr.port; : 'port ' + addr.port;
debug('Listening on ' + bind); debug(`Listening on http://${addr.address}:${addr.port} `);
} }