Skip to content

Bug Fixes

Compare
Choose a tag to compare
@NathanGRomano NathanGRomano released this 28 Jun 00:11
· 40 commits to master since this release

Routers were not playing nice when next to each other.

var io = require('socket.io')(3000):
io.use(Router());
io.use(Router());

The second Router instance was overrode the socket.onevent method when in fact it should have just attached it self to the previous router.