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": {
|
"i18n": {
|
||||||
"locale": "es",
|
"locale": "es",
|
||||||
"fallbackLocale": "es",
|
"fallbackLocale": "es",
|
||||||
"silentTranslationWarn": true
|
"silentTranslationWarn": false
|
||||||
},
|
},
|
||||||
"pdf": {
|
"pdf": {
|
||||||
"format": "A4",
|
"format": "A4",
|
||||||
|
|
|
@ -10,8 +10,11 @@ let configFiles = [
|
||||||
];
|
];
|
||||||
|
|
||||||
for (let configFile of configFiles) {
|
for (let configFile of configFiles) {
|
||||||
if (fs.existsSync(configFile))
|
if (fs.existsSync(configFile)) {
|
||||||
Object.assign(config, require(configFile));
|
const conf = require(configFile);
|
||||||
|
for (let prop in conf)
|
||||||
|
Object.assign(config[prop], conf[prop]);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
config.env = env;
|
config.env = env;
|
||||||
|
|
Loading…
Reference in New Issue