fix websocket url
This commit is contained in:
parent
8b9c63b224
commit
24a804a3ed
2
main.py
2
main.py
@ -98,7 +98,7 @@ while not wlan.isconnected():
|
|||||||
sleep_ms(100)
|
sleep_ms(100)
|
||||||
|
|
||||||
# Connect to the websocket
|
# Connect to the websocket
|
||||||
url = "ws://%s/p2p/sumo-%s/browser" % (config['sumo_server'], config['sumo_id'])
|
url = "ws://%s/p2p/sumo-%s/browser/" % (config['sumo_server'], config['sumo_id'])
|
||||||
conn = uwebsockets.connect(url)
|
conn = uwebsockets.connect(url)
|
||||||
|
|
||||||
# Set X seconds timeout for socket reads
|
# Set X seconds timeout for socket reads
|
||||||
|
Loading…
Reference in New Issue
Block a user