function onListening (server) {
  const addr = server.address()
  const bind = typeof addr === 'string'
    ? `pipe ${addr}`
    : `port ${addr.port}`

  logger.info(`🚧 WeVote is Listening on ${bind}`)
}
/**
* Event listener for HTTP server "listening" event.
 *
 * @param {Object} server the http server instance
 *
 * @returns {null} server process is continous here, so no returns
 */
Event listener for HTTP server "listening" event.
@param {Object} server the http server instance

@returns {null} server process is continous here, so no returns
Event listener for HTTP server " listening " event . @param { Object } server the http server instance @returns { null } server process is continous here so no returns
function onListening (server) {
  const addr = server.address()
  const bind = typeof addr === 'string'
    ? `pipe ${addr}`
    : `port ${addr.port}`
  logger.info(`🚧 WeVote is Listening on ${bind}`)
}
function onListening ( server ) { const addr = server . address ( ) const bind = typeof addr === 'string' ? ` ${ addr } ` : ` ${ addr . port } ` logger . info ( ` in d}`) }
Event listener for HTTP server "listening" event.
Event listener for HTTP server " listening " event .