mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-01 04:38:12 +00:00
Fix connection to websocket with last docker release
Fix https://github.com/GNS3/gns3-gui/issues/1994 Signed-off-by: Julien Duponchelle <julien@gns3.net>
This commit is contained in:
parent
a6d085bf61
commit
56d91b648c
@ -161,7 +161,7 @@ class Docker(BaseManager):
|
|||||||
:returns: Websocket
|
:returns: Websocket
|
||||||
"""
|
"""
|
||||||
|
|
||||||
url = "http://docker/" + path
|
url = "http://docker/v" + DOCKER_MINIMUM_API_VERSION + "/" + path
|
||||||
connection = yield from aiohttp.ws_connect(url,
|
connection = yield from aiohttp.ws_connect(url,
|
||||||
connector=self.connector(),
|
connector=self.connector(),
|
||||||
origin="http://docker",
|
origin="http://docker",
|
||||||
|
Loading…
Reference in New Issue
Block a user