Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix issue of code running more than once, closes #1

Signed-off-by: Henrique Vicente <henriquevicente@gmail.com>
  • Loading branch information...
commit fb17a106c8b06f21de1c54b68a3d89b6a2eea866 1 parent e88dfca
@henvic authored
View
0  app/models/socket.js → app/sockets/control.js
File renamed without changes
View
2  config/environment.js
@@ -52,6 +52,8 @@ io.set('authorization', function (data, accept) {
return accept(null, true);
});
}).sockets.on('connection', function (socket) {
+ require('../app/sockets/control');
+
var sess = socket.handshake.session;
socket.log.info(
'a socket with sessionID',
Please sign in to comment.
Something went wrong with that request. Please try again.