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.
2 parents 4b2c9eb + f990500 commit 40e02c6Copy full SHA for 40e02c6
src/murfey/client/websocket.py
@@ -27,7 +27,9 @@ def __init__(
27
websocket.enableTrace(True)
28
29
# Parse server URL and get proxy path used, if any
30
- url = urllib.parse.urlparse(server)._replace(scheme="ws")
+ url = urllib.parse.urlparse(server)._replace(
31
+ scheme="wss" if server.startswith("https") else "ws"
32
+ )
33
proxy_path = url.path.rstrip("/")
34
35
self._address = url.geturl()
0 commit comments