Show IPv6 GUI URL correctly

This commit is contained in:
Jakob Borg 2014-09-01 20:03:41 +02:00
parent 2e77e498f5
commit de0b91d157

View File

@ -468,7 +468,7 @@ nextRepo:
proto = "https" 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) err := startGUI(guiCfg, os.Getenv("STGUIASSETS"), m)
if err != nil { if err != nil {
l.Fatalln("Cannot start GUI:", err) l.Fatalln("Cannot start GUI:", err)