update websocket url

This commit is contained in:
Silver Kuusik 2018-09-12 14:29:57 +02:00
parent 4d14b988ed
commit 281dbef4b3

View File

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