about summary refs log tree commit diff stats
path: root/src/config
diff options
context:
space:
mode:
authorHygna <hygna@proton.me>2022-10-16 11:00:11 +0100
committerHygna <hygna@proton.me>2022-10-16 11:00:41 +0100
commit2e1534e579711f5bcf4377c1c8c21f4b0a13a5d1 (patch)
tree4f96762a41d92c92f1856f6af6362de8cf9bb42f /src/config
parentupdated instances (diff)
downloadlibredirect-2e1534e579711f5bcf4377c1c8c21f4b0a13a5d1.zip
Updated reddit targets, actually fixed peertube redirects
Diffstat (limited to 'src/config')
-rw-r--r--src/config/config.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config/config.json b/src/config/config.json
index 628bd460..6c7ff53a 100644
--- a/src/config/config.json
+++ b/src/config/config.json
@@ -93,7 +93,7 @@
 				}

 			},

 			"targets": [

-				"^https?:\\/{2}(?:www\\.|m\\.|)youtube.com(?!(?:iframe_api\\/.*)|(?:\/redirect))",

+				"^https?:\\/{2}(?:www\\.|m\\.|)youtube.com(?!(?:iframe_api\\/.*)|(?:\\/redirect))",

 				"^https?:\\/{2}img\\.youtube.com\\/vi\\/.*\\/..*",

 				"^https?:\\/{2}(?:i|s)\\.ytimg.com\\/vi\\/.*\\/..*",

 				"^https?:\\/{2}(?:www\\.|music\\.|)youtube.com\\/watch?v=..*",

@@ -293,7 +293,7 @@
 				}

 			},

 			"targets": [

-				"^https?:\\/{2}(www\\.|old\\.|np\\.|new\\.|amp\\.|)reddit\\.com",

+				"^https?:\\/{2}(www\\.|old\\.|np\\.|new\\.|amp\\.|)reddit\\.com(?!\\/(gallery)|(rpan)|(settings)|(topics)|(dev))",

 				"^https?:\\/{2}(i\\.|preview\\.)redd\\.it"

 			],

 			"name": "Reddit",