|
|
@ -7,14 +7,7 @@ console.log("passe dans le script javascript")
|
|
|
|
let socket;
|
|
|
|
let socket;
|
|
|
|
if (!socket) {
|
|
|
|
if (!socket) {
|
|
|
|
socket = io(http://http://82.165.180.114:3000);
|
|
|
|
socket = io(http://http://82.165.180.114:3000);
|
|
|
|
console.log("Socket created");
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else if (socket.connected) {
|
|
|
|
|
|
|
|
console.log("Socket created");
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
else {
|
|
|
|
|
|
|
|
console.log("Socket not created");
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
</script>';
|
|
|
|
</script>';
|
|
|
|
$control = new FrontController();
|
|
|
|
$control = new FrontController();
|
|
|
|
|
|
|
|
|
|
|
|