about summary refs log tree commit diff stats
path: root/src/pages/background
diff options
context:
space:
mode:
Diffstat (limited to 'src/pages/background')
-rw-r--r--src/pages/background/background.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pages/background/background.js b/src/pages/background/background.js
index d3ec06ca..fd0d55a2 100644
--- a/src/pages/background/background.js
+++ b/src/pages/background/background.js
@@ -485,7 +485,7 @@ function redirectReddit(url, initiator, type) {
   } else if (url.host === "redd.it") {
     if (
       redditInstance.includes("teddit") &&
-      !url.pathname.startsWith("/comments/")
+      !url.pathname.match(/^\/\S+\//)
     ) {
       // As of 2021-04-22, redirects for teddit redd.it links don't work unless
       // the path starts with "/comments".  It appears that all links that