Added abstraction layer around config.

`roles` in config renamed to `defaultRoles`. These are used if no `roles` are provided in production.yaml
This commit is contained in:
Tomas Bures 2019-07-26 20:35:49 +05:30
parent 8cd01fe99e
commit 6ae9143c22
33 changed files with 42 additions and 33 deletions

View file

@ -1,6 +1,6 @@
'use strict';
const config = require('config');
const config = require('../../../lib/config');
module.exports = {
app: config,