Allow native websockets connections to sockjs.

This interface will probably change, but enabling this allows people to get started on non-browser DDP clients now.
This commit is contained in:
Nick Martin
2012-04-23 19:49:53 -07:00
parent 00117e6fda
commit f00a8a21fb

View File

@@ -17,7 +17,7 @@ Meteor._StreamServer = function () {
// set up socket.io
var sockjs = __meteor_bootstrap__.require('sockjs');
self.server = sockjs.createServer({
prefix: '/sockjs', websocket: false, log: function(){},
prefix: '/sockjs', log: function(){},
jsessionid: false});
self.server.installHandlers(__meteor_bootstrap__.app);