mirror of
https://github.com/octoleo/syncthing.git
synced 2025-01-09 09:50:30 +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
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
l.Infoln("Starting web GUI on", guiCfg.URL())
|
|
||||||
|
|
||||||
listener := &tlsutil.DowngradingListener{rawListener, tlsCfg}
|
listener := &tlsutil.DowngradingListener{rawListener, tlsCfg}
|
||||||
return listener, nil
|
return listener, nil
|
||||||
}
|
}
|
||||||
@ -229,6 +227,7 @@ func (s *apiSvc) Serve() {
|
|||||||
s.fss.ServeBackground()
|
s.fss.ServeBackground()
|
||||||
|
|
||||||
l.Infoln("API listening on", s.listener.Addr())
|
l.Infoln("API listening on", s.listener.Addr())
|
||||||
|
l.Infoln("GUI URL is", guiCfg.URL())
|
||||||
err := srv.Serve(s.listener)
|
err := srv.Serve(s.listener)
|
||||||
|
|
||||||
// The return could be due to an intentional close. Wait for the stop
|
// The return could be due to an intentional close. Wait for the stop
|
||||||
|
Loading…
Reference in New Issue
Block a user