diff --git a/src/_data/albums.js b/src/_data/albums.js index a5283dbc..22e8c07e 100644 --- a/src/_data/albums.js +++ b/src/_data/albums.js @@ -17,9 +17,7 @@ export default async function () { 'https://lastfm.freetls.fastly.net', 'https://cd-albums.b-cdn.net' ) - : `https://cdn.coryd.dev/albums/${album['name'].name - .replace(/\s+/g, '-') - .toLowerCase()}.jpg`, + : `https://cdn.coryd.dev/albums/${album['name'].replace(/\s+/g, '-').toLowerCase()}.jpg`, url: album['mbid'] ? `https://musicbrainz.org/album/${album['mbid']}` : `https://musicbrainz.org/taglookup/index?tag-lookup.artist=${album['artist'][