Fix: changed GetFullAddr() method
This commit is contained in:
parent
75f7a75379
commit
4ce9064fbb
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user