mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-24 18:32:41 +00:00
Bug Fix
This commit is contained in:
@@ -17,6 +17,9 @@ const config = require('nconf')
|
||||
.file('environment', { file: `config/${process.env.NODE_ENV}.json` })
|
||||
.file('defaults', { file: 'config/default.json' });
|
||||
|
||||
console.log(config.get('googleClientId'));
|
||||
console.log(config.get('secret'));
|
||||
console.log(config.get('googleApiKey'));
|
||||
//DB
|
||||
const mongoose = require('mongoose');
|
||||
mongoose.connect(config.get('mongodb_uri') || config.get('mongolab_uri') || 'mongodb://localhost/naturalcrit',
|
||||
|
||||
Reference in New Issue
Block a user