diff options
author | ManeraKai <manerakai@protonmail.com> | 2024-09-21 09:30:22 +0300 |
---|---|---|
committer | ManeraKai <manerakai@protonmail.com> | 2024-09-21 09:30:22 +0300 |
commit | c1de0d8cc4814e337c2b843cb401663678c81501 (patch) | |
tree | feae5c223a146ee450c2ee6175ff48c7fd189beb | |
parent | Added margin to popup buttons (diff) | |
download | libredirect-c1de0d8cc4814e337c2b843cb401663678c81501.zip |
Restricting maps regex
-rw-r--r-- | src/config.json | 3 |
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": { |