chore: albums fix
This commit is contained in:
parent
abac90cd6e
commit
96f099d1f3
1 changed files with 1 additions and 3 deletions
|
@ -17,9 +17,7 @@ export default async function () {
|
||||||
'https://lastfm.freetls.fastly.net',
|
'https://lastfm.freetls.fastly.net',
|
||||||
'https://cd-albums.b-cdn.net'
|
'https://cd-albums.b-cdn.net'
|
||||||
)
|
)
|
||||||
: `https://cdn.coryd.dev/albums/${album['name'].name
|
: `https://cdn.coryd.dev/albums/${album['name'].replace(/\s+/g, '-').toLowerCase()}.jpg`,
|
||||||
.replace(/\s+/g, '-')
|
|
||||||
.toLowerCase()}.jpg`,
|
|
||||||
url: album['mbid']
|
url: album['mbid']
|
||||||
? `https://musicbrainz.org/album/${album['mbid']}`
|
? `https://musicbrainz.org/album/${album['mbid']}`
|
||||||
: `https://musicbrainz.org/taglookup/index?tag-lookup.artist=${album['artist'][
|
: `https://musicbrainz.org/taglookup/index?tag-lookup.artist=${album['artist'][
|
||||||
|
|
Reference in a new issue