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 aa0bf3a commit f990500Copy full SHA for f990500
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