diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-03-30 12:59:47 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-03-30 13:01:11 -0300 |
commit | c58e21df768e52411c3c7b739b01eddf3ae7ef51 (patch) | |
tree | 581cafe6cec7cf00ab3604dfaa60816d0d7ab221 /src/util | |
parent | dcd5845b43b995ca41fb6b1711165d096a25b807 (diff) |
external-links: HSMusic (replacing "local")
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/external-links.js | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/src/util/external-links.js b/src/util/external-links.js index da0889a3..b8b97849 100644 --- a/src/util/external-links.js +++ b/src/util/external-links.js @@ -377,6 +377,23 @@ export const externalLinkSpec = [ }, { + match: { + domain: 'hsmusic.wiki', + pathname: /^media\/misc\/archive/, + }, + + platform: 'hsmusic.archive', + + icon: 'globe', + }, + + { + match: {domain: 'hsmusic.wiki'}, + platform: 'hsmusic', + icon: 'globe', + }, + + { match: {domain: 'instagram.com'}, platform: 'instagram', icon: 'instagram', @@ -417,12 +434,6 @@ export const externalLinkSpec = [ }, { - match: {domain: 'hsmusic.wiki'}, - platform: 'local', - icon: 'globe', - }, - - { match: {domains: ['types.pl']}, platform: 'mastodon', |