From 644949440c9d85f4acc4731e92c49f3719e8d757 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sat, 30 Mar 2024 10:14:52 -0300 Subject: external-links: tidy some unnecessary plurals --- src/util/external-links.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') 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_]*)\/?$/}, -- cgit 1.3.0-6-gf8a5