mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-03 07:26:45 +00:00
feat(特殊配置读取添加 AI_SUMMARY 相关配置项):
(cherry picked from commit 7a53b1950c8238636b4c525332e48a50f43ace2d)
This commit is contained in:
@@ -38,9 +38,10 @@ export const siteConfig = (key, defaultVal = null, extendConfig = {}) => {
|
|||||||
case 'TAG_SORT_BY_COUNT':
|
case 'TAG_SORT_BY_COUNT':
|
||||||
case 'THEME':
|
case 'THEME':
|
||||||
case 'LINK':
|
case 'LINK':
|
||||||
case 'NPM_CDN_BASE':
|
case 'AI_SUMMARY_API':
|
||||||
case 'CDNJS_CDN_BASE':
|
case 'AI_SUMMARY_KEY':
|
||||||
case 'JSDELIVR_CDN_BASE':
|
case 'AI_SUMMARY_CACHE_TIME':
|
||||||
|
case 'AI_SUMMARY_WORD_LIMIT':
|
||||||
// LINK比较特殊,
|
// LINK比较特殊,
|
||||||
if (key === 'LINK') {
|
if (key === 'LINK') {
|
||||||
if (!extendConfig || Object.keys(extendConfig).length === 0) {
|
if (!extendConfig || Object.keys(extendConfig).length === 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user