Permalink
Browse files

Just turn of logging as it's annoying for non-websocket browsers

--HG--
extra : signature : gnupg%3AiQEbBAABAgAGBQJPPUJCAAoJEO%2BewIrBgcV3zD4H9AnvseEw1hIgC0fqN5NcZH8gHkcKEM6lyeuVYhC4iQWSHIWLHd8N2bClhZL2r%2BD%2B%2BKSZqUX/ZCYW4VgmvWk4W7e3RvTUjgd3s6dcnAdXvFMMxeVV8nUqkLLAHWzAl6Sa8BtOpz7mTN%2Bif6eGp45uD0HBS1xRoqLFG2eCflYEUUxCxDYOTe6HpMcg7nEdRdow3tumBIgsdgTr56a8lOBdy8epGDTSkhq7kRx1M9i/ZlJ5olEE4QpiPLf8rUOJ/Aaj/9ZkcHGkjMxslRn2kUbSNtavsFEAOW4WHCJYWKLt1d51up%2BL2abHqiVfSlkhaoEEEIlTD2DxgcM90bJ9yHAgYA%3D%3D
  • Loading branch information...
1 parent 30e53cf commit 551c2a50a307773911d5b8bea4f0024ec32c3c37 Matthew Sackman committed Feb 16, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 lib/atomize-server.js
@@ -10,7 +10,8 @@
atomize = require('atomize-client');
sockjs = require('sockjs');
- sockjs_opts = {sockjs_url: "http://cdn.sockjs.org/sockjs-0.1.min.js"};
+ sockjs_opts = {sockjs_url: "http://cdn.sockjs.org/sockjs-0.1.min.js",
+ log: function () {}};
port = 9999; // Default port: override with --port command line option
util = (function () {
@@ -306,7 +307,7 @@
};
create = function (http, path) {
- var server = sockjs.createServer({sockjs_url: "http://cdn.sockjs.org/sockjs-0.1.min.js"});
+ var server = sockjs.createServer(sockjs_opts);
server.on('connection', function (conn) {
var client = new Client(conn);

0 comments on commit 551c2a5

Please sign in to comment.