fix: artist links

This commit is contained in:
Cory Dransfeldt 2023-07-19 14:20:50 -07:00
parent b1e97ecda2
commit 1a51be3702
No known key found for this signature in database

View file

@ -89,6 +89,7 @@ const deriveCharts = (tracks) => {
if (!charts.artists[track.artist]) { if (!charts.artists[track.artist]) {
charts.artists[track.artist] = { charts.artists[track.artist] = {
artist: track.artist, artist: track.artist,
url: `https://rateyourmusic.com/search?searchterm=${encodeURI(track.artist)}`,
plays: 1, plays: 1,
} }
} else { } else {