mirror of
https://github.com/stolksdorf/homebrewery.git
synced 2025-12-12 23:45:57 +00:00
Lots of doc improvements
This commit is contained in:
@@ -16,7 +16,10 @@ const config = require('nconf')
|
||||
//DB
|
||||
require('mongoose')
|
||||
.connect(process.env.MONGODB_URI || process.env.MONGOLAB_URI || 'mongodb://localhost/naturalcrit')
|
||||
.connection.on('error', () => { console.log(">>>ERROR: Run Mongodb.exe ya goof!") });
|
||||
.connection.on('error', () => {
|
||||
console.log('Error : Could not connect to a Mongo Database.');
|
||||
console.log(' If you are running locally, make sure mongodb.exe is running.');
|
||||
});
|
||||
|
||||
|
||||
//Account MIddleware
|
||||
|
||||
Reference in New Issue
Block a user