From c1de0d8cc4814e337c2b843cb401663678c81501 Mon Sep 17 00:00:00 2001 From: ManeraKai Date: Sat, 21 Sep 2024 09:30:22 +0300 Subject: [PATCH] Restricting maps regex --- src/config.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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": {