chore: drop cdn crop
This commit is contained in:
parent
b934a0241f
commit
aeda732038
3 changed files with 4 additions and 8 deletions
|
@ -51,8 +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&sharpen=true` ||
|
||||
'https://cdn.coryd.dev/tv/missing-tv.jpg',
|
||||
.toLowerCase()}.jpg` || 'https://cdn.coryd.dev/tv/missing-tv.jpg',
|
||||
startingEpisode: matchedEpisode['episode'],
|
||||
startingSeason: matchedEpisode['season'],
|
||||
episode: episodeNumber,
|
||||
|
@ -70,8 +69,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&sharpen=true` ||
|
||||
'https://cdn.coryd.dev/tv/missing-tv.jpg',
|
||||
.toLowerCase()}.jpg` || 'https://cdn.coryd.dev/tv/missing-tv.jpg',
|
||||
episode: episodeNumber,
|
||||
season: seasonNumber,
|
||||
type: 'tv',
|
||||
|
|
Reference in a new issue