« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
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',