Skip to content

Commit

Permalink
修改代码
Browse files Browse the repository at this point in the history
  • Loading branch information
pangdogs committed Mar 31, 2024
1 parent c98a284 commit 7c304ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/gate/cli/connector.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func (ctor *_Connector) connect(ctx context.Context, endpoint string) (client *C

origin := ctor.options.WebSocketOrigin
if origin == "" {
origin, _ = url.JoinPath(endpoint, uid.New().String())
origin, _ = url.JoinPath(endpoint, "cli", uid.New().String())
}

conf, err := websocket.NewConfig(endpoint, origin)
Expand Down

0 comments on commit 7c304ce

Please sign in to comment.