From 96f099d1f3a453c3c0f6cd330f415cac44bbdc2f Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Fri, 9 Feb 2024 13:07:49 -0800 Subject: [PATCH] chore: albums fix --- src/_data/albums.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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'][