Permalink
Browse files

changed config

  • Loading branch information...
1 parent 443e8d1 commit 17b5a94ed7a9bc9bb8684ea4f08ca97b170cd75b @ccoenraets committed Oct 10, 2012
Showing with 6 additions and 2 deletions.
  1. +1 −1 Procfile
  2. +2 −1 package.json
  3. +3 −0 serverwithanalytics.js
View
@@ -1 +1 @@
-web: node server.js
+web: node serverwithanalytics.js
View
@@ -5,7 +5,8 @@
"private": true,
"dependencies": {
"express": "3.x",
- "mongodb": "1.1.8"
+ "mongodb": "1.1.8",
+ "socket.io": "0.9.10"
},
"engines": {
"node": "0.8.4",
View
@@ -18,6 +18,9 @@ io = io.listen(server);
io.configure(function () {
+
+ io.set("transports", ["xhr-polling"]);
+ io.set("polling duration", 10);
io.set('authorization', function (handshakeData, callback) {
if (handshakeData.xdomain) {
callback('Cross-domain connections are not allowed');

0 comments on commit 17b5a94

Please sign in to comment.