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

@ -22,7 +22,7 @@ module.exports = async function () {
)
: `https://cdn.coryd.dev/albums/${album['name'].name
.replace(/\s+/g, '-')
.toLowerCase()}.jpg?width=400&crop=500,500&crop_gravity=center&quality=100&sharpen=true`,
.toLowerCase()}.jpg`,
url: album['mbid']
? `https://musicbrainz.org/album/${album['mbid']}`
: `https://musicbrainz.org/search?query=${encodeURI(album['name'])}&type=release_group`,