Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c01098b672 |
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user