Now SVC must be working in full TLS mode

This commit is contained in:
Piotr Biernat 2023-06-29 15:06:12 +02:00
parent 566cbbd31b
commit c01098b672
2 changed files with 2 additions and 2 deletions

View File

@ -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
}

View File

@ -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 {