Skip to content

Commit 9d9a244

Browse files
committed
trim http/ws
1 parent 1188703 commit 9d9a244

File tree

1 file changed

+4
-4
lines changed
  • framework/components/jd

1 file changed

+4
-4
lines changed

framework/components/jd/jd.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,10 +120,10 @@ func NewJD(in *Input) (*Output, error) {
120120
}
121121
out := &Output{
122122
UseCache: true,
123-
HostGRPCUrl: fmt.Sprintf("http://%s:%s", host, in.GRPCPort),
124-
DockerGRPCUrl: fmt.Sprintf("http://%s:%s", containerName, in.GRPCPort),
125-
HostWSRPCUrl: fmt.Sprintf("ws://%s:%s", host, in.WSRPCPort),
126-
DockerWSRPCUrl: fmt.Sprintf("ws://%s:%s", containerName, in.WSRPCPort),
123+
HostGRPCUrl: fmt.Sprintf("%s:%s", host, in.GRPCPort),
124+
DockerGRPCUrl: fmt.Sprintf("%s:%s", containerName, in.GRPCPort),
125+
HostWSRPCUrl: fmt.Sprintf("%s:%s", host, in.WSRPCPort),
126+
DockerWSRPCUrl: fmt.Sprintf("%s:%s", containerName, in.WSRPCPort),
127127
}
128128
in.Out = out
129129
return out, nil

0 commit comments

Comments
 (0)