Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated dependencies from express 2.5.1 to express 3.1.0

commit 66bc37e4b18cdd29159df8a160b6a8ae274dfd50 1 parent b1aaef0
Daniel Kutik authored
Showing with 7 additions and 5 deletions.
  1. +6 −4 example/server.js
  2. +1 −1  package.json
View
10 example/server.js
@@ -1,6 +1,8 @@
-var app = require('express').createServer();
-app.listen(8000);
-var webRTC = require('webrtc.io').listen(app);
+var app = require('express')();
+var server = server = require('http').createServer(app);
+var webRTC = require('webrtc.io').listen(server);
+
+server.listen(8000);
@@ -53,4 +55,4 @@ webRTC.rtc.on('chat_msg', function(data, socket) {
}
}
}
-});
+});
View
2  package.json
@@ -8,7 +8,7 @@
"dependencies": {
"webrtc.io": "latest",
"webrtc.io-client": "latest",
- "express": "2.5.1",
+ "express": "3.1.0",
"ws": "latest"
},
"subdomain": "MultiWebRTC",
Please sign in to comment.
Something went wrong with that request. Please try again.