From cc2a3434ef5e2686d5ba05efe4601b81fd2a9f0c Mon Sep 17 00:00:00 2001 From: Conners Hua Date: Tue, 11 Aug 2020 12:54:36 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A9=20=E9=87=8D=E5=AE=9A=E5=90=91=20Go?= =?UTF-8?q?ogle=20Maps=20=E7=BD=91=E9=A1=B5=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Quantumult/Rewrite/General.conf | 3 +++ Surge/Global.conf | 7 +++++-- Surge/Global2.conf | 3 +++ 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/Quantumult/Rewrite/General.conf b/Quantumult/Rewrite/General.conf index 3313610..1cb86c9 100644 --- a/Quantumult/Rewrite/General.conf +++ b/Quantumult/Rewrite/General.conf @@ -3,6 +3,9 @@ hostname = www.google.cn,api.abema.io # Redirect Google Search Service ^(http|https):\/\/(www.)?(g|google)\.cn url 302 https://www.google.com +# Redirect Google Maps Service +^(http|https):\/\/(ditu|maps).google\.cn url 302 https://maps.google.com + # Redirect HTTP to HTTPS ^(http|https):\/\/(www.)?taobao\.com\/ url 302 https://taobao.com/ ^(http|https):\/\/(www.)?jd\.com\/ url 302 https://www.jd.com/ diff --git a/Surge/Global.conf b/Surge/Global.conf index a129126..c3a425d 100644 --- a/Surge/Global.conf +++ b/Surge/Global.conf @@ -198,6 +198,9 @@ mtalk.google.com = 108.177.125.188 # Redirect Google Search Service ^(http|https):\/\/(www.)?(g|google)\.cn https://www.google.com 302 +# Redirect Google Maps Service +^(http|https):\/\/(ditu|maps).google\.cn https://maps.google.com 302 + # Redirect HTTP to HTTPS ^(http|https):\/\/(www.)?taobao\.com\/ https://taobao.com/ 302 ^(http|https):\/\/(www.)?jd\.com\/ https://www.jd.com/ 302 @@ -256,8 +259,8 @@ mtalk.google.com = 108.177.125.188 # TikTok (By wzw1997007) - *.tiktokv.com, *.byteoversea.com, *.musical.ly, *.snssdk.com # (?<=_region=)CN(?=&) JP 307 -# (?<=&app_version=)16..(?=.?.?&) 1 307 -# (?<=\?version_code=)16..(?=.?.?&) 1 307 +# (?<=&app_version=)17..(?=.?.?&) 1 307 +# (?<=\?version_code=)17..(?=.?.?&) 1 307 #Resso (By JO2EY) - api.resso.app # (?<=(carrier|account|sys|sim)_region=)cn in 307 diff --git a/Surge/Global2.conf b/Surge/Global2.conf index 589e617..c09ae10 100644 --- a/Surge/Global2.conf +++ b/Surge/Global2.conf @@ -2088,6 +2088,9 @@ mtalk.google.com = 108.177.125.188 # Redirect Google Search Service ^(http|https):\/\/(www.)?(g|google)\.cn https://www.google.com 302 +# Redirect Google Maps Service +^(http|https):\/\/(ditu|maps).google\.cn https://maps.google.com 302 + # Redirect HTTP to HTTPS ^(http|https):\/\/(www.)?taobao\.com\/ https://taobao.com/ 302 ^(http|https):\/\/(www.)?jd\.com\/ https://www.jd.com/ 302