update server url

This commit is contained in:
Silver Kuusik 2018-09-12 14:43:50 +02:00
parent 70081a1829
commit a6005aef11

View File

@ -218,7 +218,7 @@ window.addEventListener('load', function() {
sumorobot.close();
}
// Connect to the selected robots WebSocket
sumorobot = new Sumorobot(`ws://${ROBOT_SERVER}/p2p/browser/${robotId}`, robotId);
sumorobot = new Sumorobot(`ws://${ROBOT_SERVER}/p2p/browser/sumo-${robotId}`, robotId);
// Hide the configuration panel
$('#panel').hide();
});