diff options
| author | (quasar) nebula <qznebula@protonmail.com> | 2026-05-01 18:51:22 -0300 |
|---|---|---|
| committer | (quasar) nebula <qznebula@protonmail.com> | 2026-05-01 19:16:11 -0300 |
| commit | bf8646c7384d3d73827e640c2afec5a8bc08da72 (patch) | |
| tree | 72dd91533a1023ce0f64ac2de5cf5185dfea3c1f /src/content | |
| parent | a1d39a16ab3ed60a9af4ef277fbf5c4a98a84b2d (diff) | |
[preview] content: composer's release -> artist's release
Diffstat (limited to 'src/content')
| -rw-r--r-- | src/content/dependencies/generateListenLineOrList.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/content/dependencies/generateListenLineOrList.js b/src/content/dependencies/generateListenLineOrList.js index f0d8dae9..68f48d5e 100644 --- a/src/content/dependencies/generateListenLineOrList.js +++ b/src/content/dependencies/generateListenLineOrList.js @@ -5,7 +5,7 @@ function getReleaseContext(urlString, { _artistURLs, albumArtistURLs, }) { - const composerBandcampDomains = + const artistBandcampDomains = albumArtistURLs .filter(url => url.hostname.endsWith('.bandcamp.com')) .map(url => url.hostname); @@ -16,8 +16,8 @@ function getReleaseContext(urlString, { return ['officialRelease']; } - if (composerBandcampDomains.includes(url.hostname)) { - return ['composerRelease']; + if (artistBandcampDomains.includes(url.hostname)) { + return ['artistRelease']; } return []; |