We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent deef668 commit 46e9d38Copy full SHA for 46e9d38
cmd/lk/utils.go
@@ -25,6 +25,8 @@ import (
25
26
"github.com/livekit/protocol/utils/interceptors"
27
28
+ lksdk "github.com/livekit/server-sdk-go/v2"
29
+
30
"github.com/livekit/livekit-cli/v2/pkg/config"
31
"github.com/livekit/livekit-cli/v2/pkg/util"
32
)
@@ -106,7 +108,7 @@ func withDefaultClientOpts(c *config.ProjectConfig) []twirp.ClientOption {
106
108
ics []twirp.Interceptor
107
109
110
if printCurl {
- ics = append(ics, interceptors.NewCurlPrinter(os.Stdout, c.URL))
111
+ ics = append(ics, interceptors.NewCurlPrinter(os.Stdout, lksdk.ToHttpURL(c.URL)))
112
}
113
if len(ics) != 0 {
114
opts = append(opts, twirp.WithClientInterceptors(ics...))
0 commit comments