« get me outta code hell

external-links: Toyhouse - 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 14:18:29 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-03-30 14:18:29 -0300
commit3fcacaf39a78ad1c6c86a0ae126bdb6e388cb704 (patch)
tree9ea3c0949d8dbaabb401f0f6aa5c1a71fcd8a04b /src/util
parenta2d764a2a04d7697b8e609dd754a9d96a24bba2e (diff)
external-links: Toyhouse
Diffstat (limited to 'src/util')
-rw-r--r--src/util/external-links.js11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/util/external-links.js b/src/util/external-links.js
index 88d85d92..3b779afc 100644
--- a/src/util/external-links.js
+++ b/src/util/external-links.js
@@ -556,6 +556,15 @@ export const externalLinkSpec = [
   },
 
   {
+    match: {domain: 'toyhou.se'},
+
+    platform: 'toyhouse',
+    handle: {pathname: /^([^/]+)\/?$/},
+
+    icon: 'toyhouse',
+  },
+
+  {
     match: {domain: '.tumblr.com'},
 
     platform: 'tumblr',
@@ -568,7 +577,7 @@ export const externalLinkSpec = [
     match: {domain: 'tumblr.com'},
 
     platform: 'tumblr',
-    handle: {pathname: /^[^/]+\/?$/},
+    handle: {pathname: /^([^/]+)\/?$/},
 
     icon: 'tumblr',
   },