Merge branch 'dev' of https://gitea.verdnatura.es/verdnatura/salix into test
gitea/salix/test This commit looks good
Details
gitea/salix/test This commit looks good
Details
This commit is contained in:
commit
1bf114f4cd
|
@ -8,7 +8,7 @@
|
|||
"i18n": {
|
||||
"locale": "es",
|
||||
"fallbackLocale": "es",
|
||||
"silentTranslationWarn": true
|
||||
"silentTranslationWarn": false
|
||||
},
|
||||
"pdf": {
|
||||
"format": "A4",
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue