Compare commits

...

1 Commits

Author SHA1 Message Date
c01098b672 Now SVC must be working in full TLS mode 2023-06-29 15:06:12 +02:00
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 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 { 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 { func (s *Service) Register() error {