Show IPv6 GUI URL correctly

This commit is contained in:
Jakob Borg 2014-09-01 20:03:41 +02:00
parent 2e77e498f5
commit de0b91d157
1 changed files with 1 additions and 1 deletions

View File

@ -468,7 +468,7 @@ nextRepo:
proto = "https"
}
l.Infof("Starting web GUI on %s://%s:%d/", proto, hostShow, addr.Port)
l.Infof("Starting web GUI on %s://%s/", proto, net.JoinHostPort(hostShow, strconv.Itoa(addr.Port)))
err := startGUI(guiCfg, os.Getenv("STGUIASSETS"), m)
if err != nil {
l.Fatalln("Cannot start GUI:", err)