proxy mangadex covers

This commit is contained in:
Daniel Bulant 2022-12-19 22:23:07 +01:00
parent ae7076f061
commit db5ed7b5c3

View file

@ -15,7 +15,7 @@
<a href="/{entry.id}" animate:flip transition:blur>
<Item
r18={!["safe", "suggestive"].includes(entry.attributes.contentRating)}
cover={imageproxy + entry.relationships.find(t => t.type === "cover_art") ? `https://uploads.mangadex.org/covers/${entry.id}/${entry.relationships.find(t => t.type === "cover_art").attributes.fileName}.512.jpg` : null}
cover={imageproxy + entry.relationships.find(t => t.type === "cover_art") ? `${imageproxy}https://uploads.mangadex.org/covers/${entry.id}/${entry.relationships.find(t => t.type === "cover_art").attributes.fileName}.512.jpg` : null}
title={entry.attributes.title.en || entry.attributes.title.ja || Object.values(entry.attributes.title)[0]}
lastChapter={entry.attributes.lastChapter}
lastVolume={entry.attributes.lastVolume}