fix: 部分错误的链接
All checks were successful
Build blog docker image / Build-Blog-Image (push) Successful in 1m28s

This commit is contained in:
2024-07-12 15:48:53 +08:00
parent f30d6e10af
commit f6838f2c9b
3 changed files with 14 additions and 14 deletions

View File

@@ -181,7 +181,7 @@ public class RendererService(ILogger<RendererService> logger,
if (pos == -1)
{
// 自动截取前50个字符
pos = 50;
pos = content.FileContent.Length < 50 ? content.FileContent.Length : 50;
}
for (int i = 0; i < pos; i++)