mirror of
https://github.com/syncthing/syncthing.git
synced 2024-11-16 18:41:59 -07:00
Show IPv6 GUI URL correctly
This commit is contained in:
parent
2e77e498f5
commit
de0b91d157
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user