Skip to content

Commit

Permalink
trim http/ws
Browse files Browse the repository at this point in the history
  • Loading branch information
b-gopalswami committed Dec 11, 2024
1 parent 1188703 commit 9d9a244
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions framework/components/jd/jd.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,10 @@ func NewJD(in *Input) (*Output, error) {
}
out := &Output{
UseCache: true,
HostGRPCUrl: fmt.Sprintf("http://%s:%s", host, in.GRPCPort),
DockerGRPCUrl: fmt.Sprintf("http://%s:%s", containerName, in.GRPCPort),
HostWSRPCUrl: fmt.Sprintf("ws://%s:%s", host, in.WSRPCPort),
DockerWSRPCUrl: fmt.Sprintf("ws://%s:%s", containerName, in.WSRPCPort),
HostGRPCUrl: fmt.Sprintf("%s:%s", host, in.GRPCPort),
DockerGRPCUrl: fmt.Sprintf("%s:%s", containerName, in.GRPCPort),
HostWSRPCUrl: fmt.Sprintf("%s:%s", host, in.WSRPCPort),
DockerWSRPCUrl: fmt.Sprintf("%s:%s", containerName, in.WSRPCPort),
}
in.Out = out
return out, nil
Expand Down

0 comments on commit 9d9a244

Please sign in to comment.