Skip to content

Commit

Permalink
fix(修复错误调用React HOOK的问题):
Browse files Browse the repository at this point in the history
  • Loading branch information
qixing-jk committed Dec 3, 2024
1 parent 03408d4 commit c22114a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ export const siteConfig = (key, defaultVal = null, extendConfig = {}) => {
case 'TAG_SORT_BY_COUNT':
case 'THEME':
case 'LINK':
case 'NPM_CDN_BASE':
case 'CDNJS_CDN_BASE':
case 'JSDELIVR_CDN_BASE':
// LINK比较特殊,
if (key === 'LINK') {
if (!extendConfig || Object.keys(extendConfig).length === 0) {
Expand Down

0 comments on commit c22114a

Please sign in to comment.