« 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.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/util/external-links.js b/src/util/external-links.js
index 9130cacc..d82ba47a 100644
--- a/src/util/external-links.js
+++ b/src/util/external-links.js
@@ -334,6 +334,13 @@ export const externalLinkSpec = [
     icon: 'instagram',
   },
 
+  // The Wayback Machine is a separate entry.
+  {
+    match: {domain: 'archive.org'},
+    platform: 'internetArchive',
+    icon: 'internetArchive',
+  },
+
   {
     match: {domain: '.itch.io'},
 
@@ -495,6 +502,12 @@ export const externalLinkSpec = [
   },
 
   {
+    match: {domain: 'web.archive.org'},
+    platform: 'waybackMachine',
+    icon: 'internetArchive',
+  },
+
+  {
     match: {domains: ['wikipedia.org', '.wikipedia.org']},
     platform: 'wikipedia',
     icon: 'misc',