feat: 优先使用 thumbUrl 作为 PDF 封面大图
This commit is contained in:
@@ -26,7 +26,7 @@ function coverFor(att: Attachment | undefined) {
|
||||
if (att.kind === "image" || att.mime.startsWith("image/")) {
|
||||
return att.thumbnailUrl || att.url;
|
||||
}
|
||||
return att.posterUrl || att.thumbnailUrl || "";
|
||||
return att.posterUrl || att.thumbUrl || att.thumbnailUrl || "";
|
||||
}
|
||||
|
||||
export function postToResource(
|
||||
|
||||
Reference in New Issue
Block a user