From 8bc32ce31fa4751ee0b83a609b7dfeff4ac3b6d2 Mon Sep 17 00:00:00 2001 From: RadoTheProgrammer Date: Sat, 6 Apr 2024 12:20:50 +0200 Subject: [PATCH] replaced "wss://" by "ws://" in CloudConnection.py --- scratchclient/CloudConnection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scratchclient/CloudConnection.py b/scratchclient/CloudConnection.py index 475813e..4097de9 100644 --- a/scratchclient/CloudConnection.py +++ b/scratchclient/CloudConnection.py @@ -106,7 +106,7 @@ def connect(self, headers): del default_headers["Cookie"] self._ws.connect( - f"wss://{self.cloud_host}", + f"ws://{self.cloud_host}", headers={**default_headers, **headers}, ) # connect the websocket self._send_packet(