Now SVC must be working in full TLS mode
This commit is contained in:
parent
566cbbd31b
commit
c01098b672
@ -91,5 +91,5 @@ func (c *HttpClient) getApiUrl(api string) string {
|
||||
apiAddr = api // default api run on 80 int port
|
||||
}
|
||||
|
||||
return "http://" + apiAddr
|
||||
return "https://" + apiAddr
|
||||
}
|
||||
|
@ -61,7 +61,7 @@ func (s *Service) GetID() string {
|
||||
}
|
||||
|
||||
func (s *Service) GetFullAddr() string {
|
||||
return fmt.Sprintf("http://%s:%d/", s.Address, s.port)
|
||||
return fmt.Sprintf("https://%s:%d/", s.Address, s.port)
|
||||
}
|
||||
|
||||
func (s *Service) Register() error {
|
||||
|
Loading…
Reference in New Issue
Block a user