From de5a8fc983f9c4921d8b1c56915ad301ff755532 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sat, 30 Mar 2024 12:17:13 -0300 Subject: external-links: DeviantArt --- src/util/external-links.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'src/util') diff --git a/src/util/external-links.js b/src/util/external-links.js index d82ba47a..e59cd318 100644 --- a/src/util/external-links.js +++ b/src/util/external-links.js @@ -283,6 +283,24 @@ export const externalLinkSpec = [ icon: 'globe', }, + { + match: {domain: '.deviantart.com'}, + + platform: 'deviantart', + handle: {domain: /^[^.]+/}, + + icon: 'deviantart', + }, + + { + match: {domain: 'deviantart.com'}, + + platform: 'deviantart', + handle: {pathname: /^[^/]+\/?$/}, + + icon: 'deviantart', + }, + { match: {domain: 'deviantart.com'}, platform: 'deviantart', -- cgit 1.3.0-6-gf8a5