mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-29 06:18:21 +02:00
Update ipv6 server listening log
This commit is contained in:
parent
553ffd1934
commit
138bb563b8
1 changed files with 2 additions and 7 deletions
|
@ -420,13 +420,8 @@ class Server {
|
|||
})
|
||||
} else {
|
||||
this.server.listen(this.Port, this.Host, () => {
|
||||
if (this.Host) {
|
||||
let host = this.Host
|
||||
if (is.ipv6(host)) {
|
||||
host = '[' + host + ']'
|
||||
}
|
||||
Logger.info(`Listening on http://${host}:${this.Port}`)
|
||||
} else Logger.info(`Listening on port :${this.Port}`)
|
||||
if (this.Host) Logger.info(`Listening on http://${is.ipv6(this.Host) ? `[${this.Host}]` : this.Host}:${this.Port}`)
|
||||
else Logger.info(`Listening on port :${this.Port}`)
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue