Skip to content
Browse files

Rename options in config: sockjs_opts -> server_opts (it was quite co…

…nfusing)
  • Loading branch information...
1 parent 4386829 commit 595f5515925038fe05dc09ce50bd6867e49bbd31 @majek majek committed
Showing with 3 additions and 3 deletions.
  1. +2 −2 examples/test_server/config.js
  2. +1 −1 examples/test_server/server.js
View
4 examples/test_server/config.js
@@ -1,6 +1,6 @@
exports.config = {
- sockjs_opts: {
- sockjs_url: 'http://cdn.sockjs.org/sockjs-0.1.min.js',
+ server_opts: {
+ sockjs_url: 'http://10.20.219.170:8080/lib/sockjs.js',
disabled_transports: []
},
View
2 examples/test_server/server.js
@@ -13,7 +13,7 @@ server.addListener('upgrade', function(req, res){
res.end();
});
-sockjs_app.install(config.sockjs_opts, server);
+sockjs_app.install(config.server_opts, server);
console.log(" [*] Listening on", config.host + ':' + config.port);
server.listen(config.port, config.host);

0 comments on commit 595f551

Please sign in to comment.
Something went wrong with that request. Please try again.