« get me outta code hell

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:
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',
   },