about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorDokterKaj <54882101+DokterKaj@users.noreply.github.com>2024-09-28 13:31:22 +0800
committerGitHub <noreply@github.com>2024-09-28 13:31:22 +0800
commit33d2490faebeb3a8447fd3fe9ec92911db69608b (patch)
treeaea912070a02716f4424ae5e4e1c36980db7f5bd /src
parentRedirect redd.it/xxxxxx shortlinks (diff)
downloadlibredirect-33d2490faebeb3a8447fd3fe9ec92911db69608b.zip
Update config.json
Diffstat (limited to 'src')
-rw-r--r--src/config.json6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/config.json b/src/config.json
index 9767bf43..f25b8601 100644
--- a/src/config.json
+++ b/src/config.json
@@ -268,8 +268,8 @@
         }
       },
       "targets": [
-        "^https?:\\/{2}(www\\.|old\\.|np\\.|new\\.|amp\\.)?(reddit|reddittorjg6rue252oqsxryoxengawnmo46qy4kyii5wtqnwfj4ooad)\\.(com|onion)(?=\\/u(ser)?\\/|\\/r\\/|\\/search|\\/new|\\/?$)",
-        "^https?:\\/{2}(i|(external-)?preview)\\.redd\\.it"
+        "^https?:\\/{2}(www\\.|old\\.|np\\.|new\\.|amp\\.)?(reddit|reddittorjg6rue252oqsxryoxengawnmo46qy4kyii5wtqnwfj4ooad)\\.(com|onion)(?=\\/u(ser)?\\/|\\/r\\/|\\/search|\\/new|\\/comments|\\/?$)",
+        "^https?:\\/{2}((i|(external-)?preview)\\.)?redd\\.it"
       ],
       "name": "Reddit",
       "options": {
@@ -1358,4 +1358,4 @@
       "url": "https://coub.com"
     }
   }
-}
\ No newline at end of file
+}