aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/app.js
diff options
context:
space:
mode:
authorLurifax <stianalexanderolsen@gmail.com>2013-05-01 22:20:18 +0200
committerLurifax <stianalexanderolsen@gmail.com>2013-05-01 22:20:18 +0200
commit464d4717ace36646db7636f2ebc7701a921c75dd (patch)
tree670d7fa67e7633ca818cc5b48e8886fab2d6ab3f /app.js
parentChanges in text (diff)
parentadded generateRandomAccessToken method (diff)
downloadDivid-464d4717ace36646db7636f2ebc7701a921c75dd.tar.gz
Changes in text in home.ejs
Diffstat (limited to 'app.js')
-rw-r--r--app.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/app.js b/app.js
index f9aa1b9..a0f7ae1 100644
--- a/app.js
+++ b/app.js
@@ -20,7 +20,7 @@ mongoose.connect(config.db);
var db = mongoose.connection;
db.on('error', console.error.bind(console, 'connection error:'));
db.once('open', function callback(){
- console.log('Connected to MongoDB');
+ console.log('Connected to ' + config.db);
});
// Bootstrap models
@@ -44,7 +44,7 @@ require('./config/express')(app, config, passport);
/**
* Routes
*/
-require('./router')(app, passport, auth);
+require('./routes')(app, passport, auth);
/**