Skip to content

Commit 5be60ad

Browse files
committed
feat: parse url upgrade from https
1 parent 38d0d31 commit 5be60ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/wsd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ func WithURL(u *url.URL) ConnectOption {
6565
c.Addr = u.Host
6666
c.Path = u.Path
6767
switch u.Scheme {
68-
case "wss":
68+
case "wss", "https":
6969
c.TLS = true
7070
default:
7171
c.TLS = false

0 commit comments

Comments
 (0)