From 6f68d5a9892f687c48759958adb152047b6d92fc Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Sat, 27 May 2023 09:58:09 -0700 Subject: [PATCH] chore: use optimized images --- config/mediaFilters.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/mediaFilters.js b/config/mediaFilters.js index 832eb833..25d8b984 100644 --- a/config/mediaFilters.js +++ b/config/mediaFilters.js @@ -2,7 +2,7 @@ const ALBUM_DENYLIST = ['no-love-deep-web', 'unremittance'] module.exports = { artist: (media) => - `https://cdn.coryd.dev/artists/${media.replace(/\s+/g, '-').toLowerCase()}.jpg`, + `https://cdn.coryd.dev/artists/min/${media.replace(/\s+/g, '-').toLowerCase()}.webp`, album: (media) => { return !ALBUM_DENYLIST.includes(media.name.replace(/\s+/g, '-').toLowerCase()) ? media.image[media.image.length - 1]['#text'].replace(