Skip to content

优化贡献者获取逻辑#7

Merged
lilingfengdev merged 2 commits intoCubic-Project:mainfrom
wling-art:cont
Nov 25, 2025
Merged

优化贡献者获取逻辑#7
lilingfengdev merged 2 commits intoCubic-Project:mainfrom
wling-art:cont

Conversation

@wling-art
Copy link
Contributor

之前使用静态文件做 prebuild 的更新会导致数据更新不及时
且静态 json 会占用仓库空间

现在去掉了静态文件,直接使用 github api
为了防止每小时的次数限制,使用了 2h 的缓存

不仅从 js 转换为 ts,还对代码进行了简化

@lilingfengdev lilingfengdev merged commit 2bf9ed0 into Cubic-Project:main Nov 25, 2025
1 check failed
@wling-art wling-art deleted the cont branch November 25, 2025 00:17
@Dreeam-qwq Dreeam-qwq added the type: docs site Pull request for code changes related to the site itself label Dec 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: docs site Pull request for code changes related to the site itself

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants