Skip to content

Commit

Permalink
temp
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukasz Sielski committed Jul 13, 2016
1 parent 2d41af8 commit 5313393
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ class Server extends Bindable {

socket = socketIO.listen(server);
console.log(prefix);
self._socket = (prefix && prefix.length) ? socket.of(prefix) : socket.sockets;
self._socket = (prefix && prefix.length) ? socket.of('/' + prefix + '/') : socket.sockets;
self._socket.on('connection', (socket) => {
socketwares.forEach((socketWare) => {
socketWare(socket, self._config);
Expand Down

0 comments on commit 5313393

Please sign in to comment.