Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Updated dependencies from express 2.5.1 to express 3.1.0

  • Loading branch information...
commit 66bc37e4b18cdd29159df8a160b6a8ae274dfd50 1 parent b1aaef0
authored February 06, 2013
10  example/server.js
... ...
@@ -1,6 +1,8 @@
1  
-var app = require('express').createServer();
2  
-app.listen(8000);
3  
-var webRTC = require('webrtc.io').listen(app);
  1
+var app = require('express')();
  2
+var server = server = require('http').createServer(app);
  3
+var webRTC = require('webrtc.io').listen(server);
  4
+
  5
+server.listen(8000);
4 6
 
5 7
 
6 8
 
@@ -53,4 +55,4 @@ webRTC.rtc.on('chat_msg', function(data, socket) {
53 55
       }
54 56
     }
55 57
   }
56  
-});
  58
+});
2  package.json
@@ -8,7 +8,7 @@
8 8
   "dependencies": {
9 9
     "webrtc.io": "latest",
10 10
     "webrtc.io-client": "latest",
11  
-    "express": "2.5.1",
  11
+    "express": "3.1.0",
12 12
     "ws": "latest"
13 13
   },
14 14
   "subdomain": "MultiWebRTC",

0 notes on commit 66bc37e

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