« get me outta code hell

external-links: Instagram handles - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/util
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-03-30 13:02:46 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-03-30 13:02:46 -0300
commit25806dc2d228d654c29b109ab0411c00bb5990f1 (patch)
tree0c783e9939371c595d5f80f93223fe2b14e27921 /src/util
parentc58e21df768e52411c3c7b739b01eddf3ae7ef51 (diff)
external-links: Instagram handles
Diffstat (limited to 'src/util')
-rw-r--r--src/util/external-links.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/util/external-links.js b/src/util/external-links.js
index b8b9784..a76c1e9 100644
--- a/src/util/external-links.js
+++ b/src/util/external-links.js
@@ -395,6 +395,15 @@ export const externalLinkSpec = [
 
   {
     match: {domain: 'instagram.com'},
+
+    platform: 'instagram',
+    handle: {pathname: /^[^/]+/},
+
+    icon: 'instagram',
+  },
+
+  {
+    match: {domain: 'instagram.com'},
     platform: 'instagram',
     icon: 'instagram',
   },