about summary refs log tree commit diff stats
path: root/src/config.json
diff options
context:
space:
mode:
authorManeraKai <manerakai@protonmail.com>2024-09-21 09:30:22 +0300
committerManeraKai <manerakai@protonmail.com>2024-09-21 09:31:45 +0300
commitd4151c826fff5008a0d6017feced261061585deb (patch)
treec459e40e16f4eef875232383b1d0a492ae936c64 /src/config.json
parentAdded margin to popup buttons (diff)
downloadlibredirect-d4151c826fff5008a0d6017feced261061585deb.zip
Restricted maps regex
Diffstat (limited to 'src/config.json')
-rw-r--r--src/config.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/config.json b/src/config.json
index 045d7f20..9767bf43 100644
--- a/src/config.json
+++ b/src/config.json
@@ -1147,7 +1147,8 @@
       },
       "targets": [
         "^https?:\\/{2}maps\\.libredirect\\.invalid",
-        "^https?:\\/{2}(((www|maps)\\.)?(google\\.).*(\\/maps)|maps\\.(google\\.).*)"
+        "^https?:\\/{2}(www\\.)?maps\\.google(\\.[a-z]{2,3}){1,2}\\/",
+        "^https?:\\/{2}(www\\.)?google(\\.[a-z]{2,3}){1,2}\\/maps\\/?"
       ],
       "name": "Maps",
       "options": {