update websocket url
This commit is contained in:
parent
4d14b988ed
commit
281dbef4b3
|
@ -218,7 +218,7 @@ window.addEventListener('load', function() {
|
||||||
sumorobot.close();
|
sumorobot.close();
|
||||||
}
|
}
|
||||||
// Connect to the selected robots WebSocket
|
// 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
|
// Hide the configuration panel
|
||||||
$('#panel').hide();
|
$('#panel').hide();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue