Skip to content

Commit

Permalink
Change config 'websocket' to 'websockets'
Browse files Browse the repository at this point in the history
  • Loading branch information
Samy Pessé committed Oct 12, 2013
1 parent 9830bc9 commit 65cc624
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module.exports = {
"sessionSecret": process.env.SESSION_SECRET || "sessionSecret",

/* Use websocket */
"websocket": true
"websockets": true
},

/* Database configuration */
Expand Down
2 changes: 1 addition & 1 deletion lib/notifications.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ var init = function(app, server) {
});

// Configure
if (!config.web.websocket) {
if (!config.web.websockets) {
io.set("transports", ["xhr-polling"]);
io.set("polling duration", 10);
}
Expand Down

0 comments on commit 65cc624

Please sign in to comment.