0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 18:32:41 +00:00

update app templates for welcome messages, add new images

This commit is contained in:
Charlie Humphreys
2022-01-26 21:56:12 -06:00
parent c2ca9f8f10
commit 22b80ffbb2
12 changed files with 36 additions and 52 deletions

View File

@@ -4,7 +4,7 @@ const server = require('./server/app.js');
const config = require('nconf')
.argv()
.env({ lowerCase: true })
.file('environment', { file: `config/${process.env.NODE_ENV}.json` })
.file('environment', { file: `${__dirname}/config/${process.env.NODE_ENV}.json` })
.file('defaults', { file: 'config/default.json' });
DB.connect(config).then(()=>{