chore: drop cdn crop
This commit is contained in:
parent
b934a0241f
commit
aeda732038
3 changed files with 4 additions and 8 deletions
|
@ -14,9 +14,7 @@ module.exports = async function () {
|
|||
plays: artist['playcount'],
|
||||
rank: artist['@attr']['rank'],
|
||||
image:
|
||||
`https://cdn.coryd.dev/artists/${artist['name']
|
||||
.replace(/\s+/g, '-')
|
||||
.toLowerCase()}.jpg?width=400&crop=500,500&crop_gravity=center&quality=100&sharpen=true` ||
|
||||
`https://cdn.coryd.dev/artists/${artist['name'].replace(/\s+/g, '-').toLowerCase()}.jpg` ||
|
||||
'https://cdn.coryd.dev/artists/missing-artist.jpg',
|
||||
url: artist['mbid']
|
||||
? `https://musicbrainz.org/artist/${artist['mbid']}`
|
||||
|
|
Reference in a new issue