forked from marva/sumorobot-web
update websocket url
This commit is contained in:
parent
4d14b988ed
commit
281dbef4b3
@ -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();
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user