From a34dbaeef2abd95e140cd7f6858af4d263fa152a Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Thu, 26 Oct 2023 15:46:07 -0700 Subject: [PATCH] chore: remove song.link --- src/_data/music.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_data/music.js b/src/_data/music.js index 4acf3982..b2c2eabb 100644 --- a/src/_data/music.js +++ b/src/_data/music.js @@ -75,7 +75,7 @@ module.exports = async function () { image: track['attributes']['artwork']['url'].replace('{w}', '500').replace('{h}', '500'), url: track['relationships'] && track['relationships'].albums.data.length > 0 - ? `https://song.link/${track['relationships'].albums.data.pop().attributes.url}` + ? track['relationships'].albums.data.pop().attributes.url : `https://musicbrainz.org/taglookup/index?tag-lookup.artist=${track['attributes'][ 'artistName' ].replace(/\s+/g, '+')}&tag-lookup.release=${album.replace(/\s+/g, '+')}`,