« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/util/external-links.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/util/external-links.js b/src/util/external-links.js
index 503512f3..d5c27ab6 100644
--- a/src/util/external-links.js
+++ b/src/util/external-links.js
@@ -211,13 +211,13 @@ export const externalLinkSpec = [
   // Generic domains, sorted alphabetically (by string)
 
   {
-    match: {domains: ['music.apple.com']},
+    match: {domain: 'music.apple.com'},
     platform: 'appleMusic',
     icon: 'globe',
   },
 
   {
-    match: {domains: ['artstation.com']},
+    match: {domain: 'artstation.com'},
 
     platform: 'artstation',
     handle: {pathname: /^[^/]+/},
@@ -226,7 +226,7 @@ export const externalLinkSpec = [
   },
 
   {
-    match: {domains: ['.artstation.com']},
+    match: {domain: '.artstation.com'},
 
     platform: 'artstation',
     handle: {domain: /^[^.]+/},
@@ -368,7 +368,7 @@ export const externalLinkSpec = [
   },
 
   {
-    match: {domains: ['tiktok.com']},
+    match: {domain: 'tiktok.com'},
 
     platform: 'tiktok',
     handle: {pathname: /^@?([a-zA-Z0-9_]*)\/?$/},