HTTP long polling before upgrade

This commit is contained in:
Firq 2024-10-01 23:24:31 +02:00
parent 401e446059
commit ed24d59a92
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20
2 changed files with 2 additions and 1 deletions
dockge_cli/service

View file

@ -72,7 +72,7 @@ class DockgeConnection:
Connect to the websocket
"""
# Dockge uses Socket.io for the websockets, so this URI and params are always the same
self._sio.connect(f"https://{self._host}/socket.io/", transports=['websocket'])
self._sio.connect(f"https://{self._host}/socket.io/")
self.login()
def login(self):