update websocket url

This commit is contained in:
Silver Kuusik 2018-09-12 22:26:29 +02:00
parent c3d38b542f
commit 12e6ee31b2
1 changed files with 1 additions and 1 deletions

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/sumo-${robotId}`, robotId);
sumorobot = new Sumorobot(`ws://${ROBOT_SERVER}/p2p/browser/sumo-${robotId}/`, robotId);
// Hide the configuration panel
$('#panel').hide();
});