mirror of
https://github.com/thelounge/thelounge
synced 2024-11-13 07:47:09 +00:00
commit
f0b0c53536
1 changed files with 4 additions and 0 deletions
|
@ -154,6 +154,10 @@ module.exports = function(options = {}) {
|
|||
const protocol = Helper.config.https.enable ? "https" : "http";
|
||||
const address = server.address();
|
||||
|
||||
if (address.family === "IPv6") {
|
||||
address.address = "[" + address.address + "]";
|
||||
}
|
||||
|
||||
log.info(
|
||||
"Available at " +
|
||||
colors.green(`${protocol}://${address.address}:${address.port}/`) +
|
||||
|
|
Loading…
Reference in a new issue