« get me outta code hell

[preview] content: composer's release -> artist's release - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content
diff options
context:
space:
mode:
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
commitbf8646c7384d3d73827e640c2afec5a8bc08da72 (patch)
tree72dd91533a1023ce0f64ac2de5cf5185dfea3c1f /src/content
parenta1d39a16ab3ed60a9af4ef277fbf5c4a98a84b2d (diff)
[preview] content: composer's release -> artist's release
Diffstat (limited to 'src/content')
-rw-r--r--src/content/dependencies/generateListenLineOrList.js6
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 [];