Skip to content

Commit

Permalink
feat: add phoenix for ssl selection
Browse files Browse the repository at this point in the history
  • Loading branch information
emidev98 committed Jul 17, 2023
1 parent cd72982 commit 45f6535
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/provider/internal/base_grpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ func (p *BaseGrpc) Connection(
var authCredentials = grpc.WithTransportCredentials(insecure.NewCredentials())

if strings.Contains(nodeUrl, "carbon") ||
strings.Contains(nodeUrl, "pisco") {
strings.Contains(nodeUrl, "pisco") ||
strings.Contains(nodeUrl, "phoenix") {
authCredentials = grpc.WithTransportCredentials(credentials.NewTLS(&tls.Config{}))
}

Expand Down

0 comments on commit 45f6535

Please sign in to comment.