Merge branch 'dev' of https://gitea.verdnatura.es/verdnatura/salix into test
gitea/salix/test This commit looks good Details

This commit is contained in:
Joan Sanchez 2019-11-14 08:53:34 +01:00
commit 1bf114f4cd
2 changed files with 6 additions and 3 deletions

View File

@ -8,7 +8,7 @@
"i18n": {
"locale": "es",
"fallbackLocale": "es",
"silentTranslationWarn": true
"silentTranslationWarn": false
},
"pdf": {
"format": "A4",

View File

@ -10,8 +10,11 @@ let configFiles = [
];
for (let configFile of configFiles) {
if (fs.existsSync(configFile))
Object.assign(config, require(configFile));
if (fs.existsSync(configFile)) {
const conf = require(configFile);
for (let prop in conf)
Object.assign(config[prop], conf[prop]);
}
}
config.env = env;