about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorDokterKaj <54882101+DokterKaj@users.noreply.github.com>2024-10-13 13:09:54 +0800
committerGitHub <noreply@github.com>2024-10-13 13:09:54 +0800
commitc2d12d4d2a1f27f07caf8518654cdab935072f1d (patch)
treeaa5c16ef89d5d91fa2c3ef937beaa76cf59cf4bf
parentredirect *.meta.stackexchange.com (diff)
downloadlibredirect-c2d12d4d2a1f27f07caf8518654cdab935072f1d.zip
fix stackexchange.com, *.meta.stackexchange.com not redirecting
-rw-r--r--src/config.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.json b/src/config.json
index f25b8601..897a0e2c 100644
--- a/src/config.json
+++ b/src/config.json
@@ -753,7 +753,7 @@
       },
       "targets": [
         "^https?:\\/{2}(www\\.)?([a-zA-Z]+\\.)?stackoverflow\\.com\\/",
-        "(?!^https?:\\/{2}(api|data|blog)\\.)^https?:\\/{2}([a-zA-Z0-9-]+\\.)stackexchange\\.com\\/",
+        "^https?:\\/{2}((?!(api|data|blog)\\.)[a-zA-Z0-9-]+\\.(meta\\.)?)?stackexchange\\.com\\/",
         "^https?:\\/{2}(www\\.)?([a-zA-Z]+\\.)?(askubuntu\\.com|mathoverflow\\.net|serverfault\\.com|stackapps\\.com|superuser\\.com)\\/"
       ],
       "name": "Stack Overflow",