diff options
-rw-r--r-- | src/strings-default.yaml | 1 | ||||
-rw-r--r-- | src/util/external-links.js | 12 |
2 files changed, 13 insertions, 0 deletions
diff --git a/src/strings-default.yaml b/src/strings-default.yaml index 4b38b60d..ecf29e4d 100644 --- a/src/strings-default.yaml +++ b/src/strings-default.yaml @@ -514,6 +514,7 @@ misc: _: "{LINK} ({ANNOTATION})" annotation: "invalid URL" + amazonMusic: "Amazon Music" appleMusic: "Apple Music" artstation: "ArtStation" bandcamp: "Bandcamp" diff --git a/src/util/external-links.js b/src/util/external-links.js index 3b779afc..a616efb3 100644 --- a/src/util/external-links.js +++ b/src/util/external-links.js @@ -211,6 +211,18 @@ export const externalLinkSpec = [ // Generic domains, sorted alphabetically (by string) { + match: { + domains: [ + 'music.amazon.co.jp', + 'music.amazon.com', + ], + }, + + platform: 'amazonMusic', + icon: 'globe', + }, + + { match: {domain: 'music.apple.com'}, platform: 'appleMusic', icon: 'appleMusic', |