From 7c79985a293d49df882123abc020ef511895e41c Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Tue, 13 Oct 2015 22:07:22 +0900 Subject: [PATCH] Clarify listen address --- cmd/syncthing/gui.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cmd/syncthing/gui.go b/cmd/syncthing/gui.go index b71e8fde..a2058dca 100644 --- a/cmd/syncthing/gui.go +++ b/cmd/syncthing/gui.go @@ -125,8 +125,6 @@ func (s *apiSvc) getListener(guiCfg config.GUIConfiguration) (net.Listener, erro return nil, err } - l.Infoln("Starting web GUI on", guiCfg.URL()) - listener := &tlsutil.DowngradingListener{rawListener, tlsCfg} return listener, nil } @@ -229,6 +227,7 @@ func (s *apiSvc) Serve() { s.fss.ServeBackground() l.Infoln("API listening on", s.listener.Addr()) + l.Infoln("GUI URL is", guiCfg.URL()) err := srv.Serve(s.listener) // The return could be due to an intentional close. Wait for the stop