diff options
author | Lurifax <stianalexanderolsen@gmail.com> | 2013-05-01 22:20:18 +0200 |
---|---|---|
committer | Lurifax <stianalexanderolsen@gmail.com> | 2013-05-01 22:20:18 +0200 |
commit | 464d4717ace36646db7636f2ebc7701a921c75dd (patch) | |
tree | 670d7fa67e7633ca818cc5b48e8886fab2d6ab3f /app.js | |
parent | Changes in text (diff) | |
parent | added generateRandomAccessToken method (diff) | |
download | Divid-464d4717ace36646db7636f2ebc7701a921c75dd.tar.gz |
Changes in text in home.ejs
Diffstat (limited to 'app.js')
-rw-r--r-- | app.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); /** |