diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-03-29 19:08:10 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-03-29 20:41:54 -0300 |
commit | 77bb29bfbcfe21dd6d01776f8578b2ff894076c8 (patch) | |
tree | 04a2979ee8a6f9a94505adbe43fc2eb882f78639 /src/util | |
parent | 68a062d92a07969ceb89075be979e1acdbeb679c (diff) |
external-links: misc minor descriptor tweaks
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/external-links.js | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/src/util/external-links.js b/src/util/external-links.js index e19ecbfc..c5f51393 100644 --- a/src/util/external-links.js +++ b/src/util/external-links.js @@ -383,7 +383,7 @@ export const externalLinkSpec = [ }, { - match: {domain: 'fandom.com'}, + match: {domains: ['fandom.com', '.fandom.com']}, platform: 'fandom', icon: 'globe', }, @@ -435,6 +435,15 @@ export const externalLinkSpec = [ }, { + match: {domain: '.newgrounds.com'}, + + platform: 'newgrounds', + handle: {domain: /^[^.]+/}, + + icon: 'newgrounds', + }, + + { match: {domain: 'newgrounds.com'}, platform: 'newgrounds', icon: 'newgrounds', @@ -462,7 +471,7 @@ export const externalLinkSpec = [ }, { - match: {domain: 'spotify.com'}, + match: {domains: ['spotify.com', 'open.spotify.com']}, platform: 'spotify', icon: 'globe', }, @@ -495,7 +504,7 @@ export const externalLinkSpec = [ }, { - match: {domain: 'wikipedia.org'}, + match: {domains: ['wikipedia.org', '.wikipedia.org']}, platform: 'wikipedia', icon: 'misc', }, |