mirror of
https://github.com/crystelf/crystelf-admin.git
synced 2025-12-05 13:41:57 +00:00
fix:修复config合并问题
This commit is contained in:
parent
9ed695dca2
commit
1b2d78b56c
@ -69,9 +69,6 @@ async function init() {
|
||||
logger.warn(`[crystelf-admin] 读取配置文件 ${file} 失败:`, e);
|
||||
}
|
||||
}
|
||||
if (!Array.isArray(configCache)) {
|
||||
configCache = fc.mergeConfig(configCache, defaultConfig);
|
||||
}
|
||||
if (configCache.debug) {
|
||||
logger.info('[crystelf-admin] 配置模块初始化成功..');
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user