diff options
author | ManeraKai <manerakai@protonmail.com> | 2024-09-21 09:30:22 +0300 |
---|---|---|
committer | ManeraKai <manerakai@protonmail.com> | 2024-09-21 09:31:45 +0300 |
commit | d4151c826fff5008a0d6017feced261061585deb (patch) | |
tree | c459e40e16f4eef875232383b1d0a492ae936c64 /src/config.json | |
parent | Added margin to popup buttons (diff) | |
download | libredirect-d4151c826fff5008a0d6017feced261061585deb.zip |
Restricted maps regex
Diffstat (limited to 'src/config.json')
-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": { |