diff --git a/config/mediaFilters.js b/config/mediaFilters.js index 5b686ffb..99a39496 100644 --- a/config/mediaFilters.js +++ b/config/mediaFilters.js @@ -1,8 +1,10 @@ module.exports = { artist: (media) => - `https://cdn.coryd.dev/artists/${media.replace(/\s+/g, '-').toLowerCase()}.jpg`, + `https://cdn.coryd.dev/artists/${media.replace(/\s+/g, '-').toLowerCase()}.jpg` || + 'https://cdn.coryd.dev/artists/missing-artist.jpg', tv: (episode) => - `https://cdn.coryd.dev/tv/${episode.replace(':', '').replace(/\s+/g, '-').toLowerCase()}.jpg`, + `https://cdn.coryd.dev/tv/${episode.replace(':', '').replace(/\s+/g, '-').toLowerCase()}.jpg` || + 'https://cdn.coryd.dev/tv/missing-tv.jpg', cdn: (url, host, cdn) => { return url.replace(host, cdn) },