add socket connection
This commit is contained in:
parent
1de440cedb
commit
9787a9d468
9 changed files with 7302 additions and 9 deletions
|
@ -2,6 +2,8 @@
|
|||
|
||||
window.addEventListener('load', init);
|
||||
|
||||
function init() {
|
||||
var socket;
|
||||
|
||||
function init() {
|
||||
socket = io.connect('http://localhost:8080');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue