mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-09-29 17:51:19 +02:00
Update ipv6 server listening log
This commit is contained in:
parent
553ffd1934
commit
138bb563b8
@ -420,13 +420,8 @@ class Server {
|
|||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
this.server.listen(this.Port, this.Host, () => {
|
this.server.listen(this.Port, this.Host, () => {
|
||||||
if (this.Host) {
|
if (this.Host) Logger.info(`Listening on http://${is.ipv6(this.Host) ? `[${this.Host}]` : this.Host}:${this.Port}`)
|
||||||
let host = this.Host
|
else Logger.info(`Listening on port :${this.Port}`)
|
||||||
if (is.ipv6(host)) {
|
|
||||||
host = '[' + host + ']'
|
|
||||||
}
|
|
||||||
Logger.info(`Listening on http://${host}:${this.Port}`)
|
|
||||||
} else Logger.info(`Listening on port :${this.Port}`)
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user