mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-24 18:32:41 +00:00
Update server.js
Lint is happy, now attempting to pacify CircleCI
This commit is contained in:
@@ -27,7 +27,7 @@ const config = require('nconf')
|
||||
.file('environment', { file: `config/${process.env.NODE_ENV}.json` })
|
||||
.file('defaults', { file: 'config/default.json' });
|
||||
|
||||
if(!process.env.NODE_ENV) { process.env.NODE_ENV = ( config.get('environment') || 'local' ); }
|
||||
if(!process.env.NODE_ENV) {process.env.NODE_ENV = (config.get('environment') || 'local');}
|
||||
|
||||
//DB
|
||||
const mongoose = require('mongoose');
|
||||
|
||||
Reference in New Issue
Block a user