INLINE_CONFIG

This commit is contained in:
tangly1024
2024-12-28 16:04:34 +08:00
parent 9603864003
commit 02790ab8a3

View File

@@ -162,7 +162,15 @@ export async function getConfigMapFromConfigPage(allPages) {
}
}
}
return notionConfig
// 将INLINE_CONFIG合并@see https://docs.tangly1024.com/article/notion-next-inline-config
const combine = Object.assign(
{},
deepClone(notionConfig),
parseConfig(notionConfig?.INLINE_CONFIG)
)
return combine
}
/**