socket.io.connect
This commit is contained in:
parent
67c33e761e
commit
585a470f91
1 changed files with 1 additions and 1 deletions
|
@ -250,7 +250,7 @@ $(function() {
|
||||||
}
|
}
|
||||||
///////////////////////////// connexion à socket.io ////////////////////////////////
|
///////////////////////////// connexion à socket.io ////////////////////////////////
|
||||||
|
|
||||||
var socket = io.connect('http://localhost:8080');
|
var socket = io.connect(window.location.host);
|
||||||
socket.emit('newplatoo',nomPlatoo);
|
socket.emit('newplatoo',nomPlatoo);
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue