about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorManeraKai <manerakai@protonmail.com>2023-01-26 09:50:43 +0300
committerManeraKai <manerakai@protonmail.com>2023-01-26 09:50:43 +0300
commitede16c006656eed83cdfb89d2dbf6363cb74309e (patch)
treeae22a24e63e8cd404a9a888308927ec7728f00f2
parentFixed some typos (diff)
downloadlibredirect-ede16c006656eed83cdfb89d2dbf6363cb74309e.zip
Added support for reddit onion https://github.com/libredirect/libredirect/issues/593
-rw-r--r--src/config.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.json b/src/config.json
index b457db9e..ad454e4d 100644
--- a/src/config.json
+++ b/src/config.json
@@ -174,7 +174,7 @@
 				}
 			},
 			"targets": [
-				"^https?:\\/{2}(www\\.|old\\.|np\\.|new\\.|amp\\.|)reddit\\.com(?=\\/u(ser)?\\/|\\/r\\/|\\/search|\\/new|\\/?$)",
+				"^https?:\\/{2}(www\\.|old\\.|np\\.|new\\.|amp\\.|)(reddit|reddittorjg6rue252oqsxryoxengawnmo46qy4kyii5wtqnwfj4ooad)\\.(com|onion)(?=\\/u(ser)?\\/|\\/r\\/|\\/search|\\/new|\\/?$)",
 				"^https?:\\/{2}(i|(external-)?preview)\\.redd\\.it"
 			],
 			"name": "Reddit",