full scale artwork, finally

This commit is contained in:
yazninja 2022-07-25 17:05:50 +08:00
parent e547082e2e
commit 09186f41cc
2 changed files with 2 additions and 2 deletions

View file

@ -242,7 +242,7 @@
getArtworkUrl(size = -1, includeUrl = false) {
let artwork = this.item?.attributes?.artwork ? this.item?.attributes?.artwork?.url : (this.item?.attributes?.editorialArtwork?.subscriptionCover?.url ?? '')
if (size != -1) {
artwork = artwork.replace('{w}', size).replace('{h}', size).replace('{f}', "webp").replace('{c}', ((size === 900) ? "sr" : "cc"))
artwork = artwork.replace('{w}', size).replace('{h}', size).replace('{f}', "webp").replace('{c}', ((size === 900) ? "sr" : "bb"))
}
switch (this.kind) {
case "385":