« get me outta code hell

external-links: DeviantArt - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-03-30 12:17:13 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-03-30 12:17:33 -0300
commitde5a8fc983f9c4921d8b1c56915ad301ff755532 (patch)
tree3b959ef90eef0e456e1cbce5df94c056ed855cbe /src
parent06d9ed8c51b1dbf1d79f531f153cdbbbcc1b47a5 (diff)
external-links: DeviantArt
Diffstat (limited to 'src')
-rw-r--r--src/util/external-links.js18
1 files changed, 18 insertions, 0 deletions
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
@@ -284,6 +284,24 @@ export const externalLinkSpec = [
   },
 
   {
+    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',
     icon: 'deviantart',