Fix: changed GetFullAddr() method

This commit is contained in:
Piotr Biernat 2024-07-17 21:53:35 +02:00
parent 75f7a75379
commit 4ce9064fbb

View File

@ -70,7 +70,7 @@ func (s *Service) GetFullAddr() string {
if isTLS { if isTLS {
proto = "https" proto = "https"
} }
return fmt.Sprintf("%s://%s:%d/", proto, s.domain, s.port) return fmt.Sprintf("%s://%s:%d/", proto, s.Address, s.port)
} }
func (s *Service) Register() error { func (s *Service) Register() error {