diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-03-30 10:14:52 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-03-30 10:14:52 -0300 |
commit | 644949440c9d85f4acc4731e92c49f3719e8d757 (patch) | |
tree | ad8d62bdcfc6564def3a02ad057c20d68185e4c6 /src | |
parent | 95f824c413e00dcc5042da6b59c8310c5980fd0c (diff) |
external-links: tidy some unnecessary plurals
Diffstat (limited to 'src')
-rw-r--r-- | src/util/external-links.js | 8 |
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_]*)\/?$/}, |