feat: cdn crop artist images
This commit is contained in:
parent
c0ca407b02
commit
e26e78463a
3 changed files with 6 additions and 4 deletions
|
@ -51,7 +51,7 @@ module.exports = async function () {
|
|||
`https://cdn.coryd.dev/tv/${matchedEpisode['name']
|
||||
.replace(':', '')
|
||||
.replace(/\s+/g, '-')
|
||||
.toLowerCase()}.jpg?width=450&height=662&quality=100` ||
|
||||
.toLowerCase()}.jpg?width=450&height=662&quality=100&sharpen=true` ||
|
||||
'https://cdn.coryd.dev/tv/missing-tv.jpg',
|
||||
startingEpisode: matchedEpisode['episode'],
|
||||
startingSeason: matchedEpisode['season'],
|
||||
|
@ -70,7 +70,7 @@ module.exports = async function () {
|
|||
`https://cdn.coryd.dev/tv/${episode['show']['title']
|
||||
.replace(':', '')
|
||||
.replace(/\s+/g, '-')
|
||||
.toLowerCase()}.jpg?width=450&height=662&quality=100` ||
|
||||
.toLowerCase()}.jpg?width=450&height=662&quality=100&sharpen=true` ||
|
||||
'https://cdn.coryd.dev/tv/missing-tv.jpg',
|
||||
episode: episodeNumber,
|
||||
season: seasonNumber,
|
||||
|
|
Reference in a new issue