commit
f0b0c53536
@ -154,6 +154,10 @@ module.exports = function(options = {}) {
|
|||||||
const protocol = Helper.config.https.enable ? "https" : "http";
|
const protocol = Helper.config.https.enable ? "https" : "http";
|
||||||
const address = server.address();
|
const address = server.address();
|
||||||
|
|
||||||
|
if (address.family === "IPv6") {
|
||||||
|
address.address = "[" + address.address + "]";
|
||||||
|
}
|
||||||
|
|
||||||
log.info(
|
log.info(
|
||||||
"Available at " +
|
"Available at " +
|
||||||
colors.green(`${protocol}://${address.address}:${address.port}/`) +
|
colors.green(`${protocol}://${address.address}:${address.port}/`) +
|
||||||
|
Loading…
Reference in New Issue
Block a user