`roles` in config renamed to `defaultRoles`. These are used if no `roles` are provided in production.yaml
9 lines
No EOL
138 B
JavaScript
9 lines
No EOL
138 B
JavaScript
"use strict";
|
|
|
|
const config = require('config');
|
|
|
|
if (!config.roles) {
|
|
config.roles = config.defaultRoles;
|
|
}
|
|
|
|
module.exports = config; |