chore: drop cdn crop

This commit is contained in:
Cory Dransfeldt 2023-09-12 09:59:10 -07:00
parent b934a0241f
commit aeda732038
No known key found for this signature in database
3 changed files with 4 additions and 8 deletions

View file

@ -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',