From ce834b02acbb063db3f058065be8022398a9b048 Mon Sep 17 00:00:00 2001 From: Silver Kuusik Date: Wed, 12 Sep 2018 14:42:38 +0200 Subject: [PATCH] update server url --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index ffb676c..f2d8c56 100755 --- a/main.py +++ b/main.py @@ -98,7 +98,7 @@ while not wlan.isconnected(): sleep_ms(100) # 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) # Set X seconds timeout for socket reads