diff --git a/shared/pkg/client/client.go b/shared/pkg/client/client.go index f6842d2..c1b90e3 100644 --- a/shared/pkg/client/client.go +++ b/shared/pkg/client/client.go @@ -52,7 +52,7 @@ func WithBaseURL(baseURL string) ClientOption { } func init() { - viper.SetDefault("machine_registry.endpoint", "http://smart-bm.zjuici.com/oak-api/endpoint") + viper.SetDefault("machine_registry.endpoint", "https://smart-bm.zjuici.com/oak-api/endpoint") } func NewClient(opts ...ClientOption) *Client {