diff --git a/Surge/Surge 3/Rule.conf b/Surge/Surge 3/Rule.conf index bb32733..79c6338 100644 --- a/Surge/Surge 3/Rule.conf +++ b/Surge/Surge 3/Rule.conf @@ -79,6 +79,10 @@ RULE-SET,LAN,DIRECT GEOIP,CN,Domestic FINAL,Others,dns-failed +[URL Rewrite] +"^https?:\/\/(ditu|maps).google\.cn" https://maps.google.com 302 +"^https?:\/\/(www.)?(g|google)\.cn" https://www.google.com 302 + [Host] diff --git a/Surge/Surge 4/Rule.conf b/Surge/Surge 4/Rule.conf index bb32733..79c6338 100644 --- a/Surge/Surge 4/Rule.conf +++ b/Surge/Surge 4/Rule.conf @@ -79,6 +79,10 @@ RULE-SET,LAN,DIRECT GEOIP,CN,Domestic FINAL,Others,dns-failed +[URL Rewrite] +"^https?:\/\/(ditu|maps).google\.cn" https://maps.google.com 302 +"^https?:\/\/(www.)?(g|google)\.cn" https://www.google.com 302 + [Host]