Skip to content

Commit

Permalink
Merge pull request #1 from gustavovaliati/master
Browse files Browse the repository at this point in the history
Fixed the app to work with new version of socket.io package.
  • Loading branch information
Luis Valdes committed Sep 24, 2014
2 parents 023ad87 + 560e364 commit a109d89
Show file tree
Hide file tree
Showing 21 changed files with 5 additions and 71 deletions.
7 changes: 2 additions & 5 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ var express = require('express')
// Socket.io
var http = require('http');
var server = http.createServer(app);
var io = require('socket.io').listen(server);
var io = require('socket.io').listen(server, {log: false});

MongoClient.connect('mongodb://localhost:27017/rfidmonitor', function(err, db) {
"use strict";
Expand All @@ -60,10 +60,7 @@ MongoClient.connect('mongodb://localhost:27017/rfidmonitor', function(err, db) {
if ('development' == app.get('env')) {
app.use(express.logger('dev'));
app.locals.pretty = true;

io.configure('development', function () {
io.disable('log');
});

}

// Application routes
Expand Down
Binary file not shown.

This file was deleted.

Binary file removed fakecollector_and_dump/dump/rfidmonitor/images.bson
Binary file not shown.

This file was deleted.

Binary file not shown.

This file was deleted.

Binary file not shown.

This file was deleted.

Binary file removed fakecollector_and_dump/dump/rfidmonitor/sessions.bson
Binary file not shown.

This file was deleted.

Binary file removed fakecollector_and_dump/dump/rfidmonitor/species.bson
Binary file not shown.

This file was deleted.

Binary file not shown.
Binary file not shown.

This file was deleted.

Binary file removed fakecollector_and_dump/dump/rfidmonitor/users.bson
Binary file not shown.

This file was deleted.

55 changes: 0 additions & 55 deletions fakecollector_and_dump/fake_collector.sh

This file was deleted.

Empty file.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
"consolidate": "~0.9.1",
"express": "~3.0",
"mongodb": "~1.3.9",
"jade": "*",
"jade": "1.7.0",
"validator": "~1.1.3",
"socket.io": "*",
"json2csv": "*"
"socket.io": "1.1.0",
"json2csv": "2.2.1"
},
"repository": "",
"author": "Luis Valdes <[email protected]>",
Expand Down

0 comments on commit a109d89

Please sign in to comment.