Permalink
Browse files

[general] elimino mongoose

  • Loading branch information...
1 parent 1707d52 commit 3b07cd8180b7e7e6d194a45e142c7b292b8009f5 cronopio committed Jun 13, 2011
Showing with 0 additions and 5 deletions.
  1. +0 −1 package.json
  2. +0 −4 server.js
View
@@ -4,7 +4,6 @@
, "private": true
, "dependencies": {
"express": "= 2.3.11"
- , "mongoose": "= 1.3.7"
, "jsonreq": "= 0.1.0"
, "jade": "= 0.12.1"
}
View
@@ -4,7 +4,6 @@
*/
var express = require('express');
-var mongoose = require('mongoose');
var jsonreq = require('jsonreq');
var Facebook = require('./facebook');
@@ -30,15 +29,12 @@ app.configure(function(){
app.configure('development', function(){
app.use(express.errorHandler({ dumpExceptions: true, showStack: true }));
- app.set('db-uri', 'mongodb://localhost/btcfb-development');
});
app.configure('production', function(){
app.use(express.errorHandler());
- app.set('db-uri', 'mongodb://btcfb:t3st1ng@localhost/btcfb-production');
});
-app.db = mongoose.connect(app.set('db-uri'));
var checkUser = function(req, res, next){
if (req.session.fbInfo){

0 comments on commit 3b07cd8

Please sign in to comment.