aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authornanalelfe <nargiza.nosirova@mail.utoronto.ca>2016-07-25 06:59:23 +0000
committernanalelfe <nargiza.nosirova@mail.utoronto.ca>2016-07-25 06:59:23 +0000
commit553e5d112f34c6be19b388fea110dcdceb7015bd (patch)
tree4fc43eb34b679d610eabf544cebbd29ffad7452e /bin
parent6d8857b2a3774db605f10631e327f152f241834b (diff)
Profile page hanging
Diffstat (limited to 'bin')
-rw-r--r--bin/www.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/bin/www.js b/bin/www.js
index 1d252bf..9cc2f2d 100644
--- a/bin/www.js
+++ b/bin/www.js
@@ -4,15 +4,9 @@ var http = require('http');
var server = http.createServer(app);
-var io = require('socket.io')(server);
-
var port = '3000';
app.set('port', port);
-io.on('connection', function(socket){
- console.log('a user connected');
-});
-
server.listen(port, function(){
console.log('listening on port 3000');
});