update server url

This commit is contained in:
Silver Kuusik 2018-09-12 14:42:38 +02:00
parent cf3babf3de
commit ce834b02ac

View File

@ -98,7 +98,7 @@ while not wlan.isconnected():
sleep_ms(100) sleep_ms(100)
# Connect to the websocket # Connect to the websocket
url = config['sumo_server'] + "/p2p/" + config['sumo_id'] + "/broswer" url = "ws://%s/p2p/sumo-%s/broswer" % (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