mirror of
https://github.com/2234839/web-font.git
synced 2026-09-04 23:02:27 +08:00
根因:LLRT 的 fs.readdir 返回字符串数组而非 Dirent 对象, entry.isFile() 抛 TypeError 被 catch 静默吞掉, 导致 evictIfNeeded 和 temp_cleaner 从未执行(线上堆积 108 个文件 992M)。 修复: - node.ts: readdir 改为先拿文件名再 stat 判断 - temp_cleaner.ts: catch 块加日志不再静默吞错误 同时包含: - font-config.json homepage 链接修复(删除 3 个 404,修正 2 个) - FontDetail 字符预览改为可实时编辑 - 添加 scripts/bench.mjs 压测脚本