fix: allow unlimited alias count (#3570)
This commit is contained in:
parent
3dd56125e4
commit
bfb2e2bc57
@ -119,7 +119,7 @@ function mergePreloadedConfig(preloadedConfig, loadedConfig) {
|
||||
}
|
||||
|
||||
function parseConfig(data) {
|
||||
const config = yaml.parse(data);
|
||||
const config = yaml.parse(data, { maxAliasCount: -1 });
|
||||
if (typeof CMS_ENV === 'string' && config[CMS_ENV]) {
|
||||
Object.keys(config[CMS_ENV]).forEach(key => {
|
||||
config[key] = config[CMS_ENV][key];
|
||||
|
Loading…
x
Reference in New Issue
Block a user