mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-09 14:50:56 +00:00
Clarify listen address
This commit is contained in:
parent
953a67bc3a
commit
7c79985a29
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user