mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-10 07:55:46 +01:00
Merge branch 'master' of https://github.com/psychobunny/node-forum
This commit is contained in:
@@ -11,8 +11,8 @@ var socket,
|
||||
config = data;
|
||||
socket = io.connect('http://' + config.socket.address + config.socket.port? ':' + config.socket.port : '');
|
||||
|
||||
socket.on('event:connect', function(data) {
|
||||
|
||||
socket.on('connect', function(data) {
|
||||
console.log('connected to socket.io: ', data);
|
||||
});
|
||||
|
||||
socket.on('event:alert', function(data) {
|
||||
|
||||
Reference in New Issue
Block a user