mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-30 23:00:14 -04:00
Update ipv6 server listening log
This commit is contained in:
parent
553ffd1934
commit
138bb563b8
@ -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…
x
Reference in New Issue
Block a user