forked from marva/sumorobot-web
update websocket url
This commit is contained in:
parent
c3d38b542f
commit
12e6ee31b2
@ -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}/p2p/browser/sumo-${robotId}`, robotId);
|
sumorobot = new Sumorobot(`ws://${ROBOT_SERVER}/p2p/browser/sumo-${robotId}/`, robotId);
|
||||||
// Hide the configuration panel
|
// Hide the configuration panel
|
||||||
$('#panel').hide();
|
$('#panel').hide();
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user