Skip to content

Commit f0ce3fd

Browse files
committed
fix: 更新URL重写规则以指向新的服务地址
1 parent 3272c6d commit f0ce3fd

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

template/loon.workers.handlebars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ DOMAIN,tether.edge.apple,REJECT-DROP
1717
AND,((OR,((IP-ASN,714,no-resolve),(IP-ASN,6185,no-resolve))),(PROTOCOL,QUIC)),REJECT-DROP
1818

1919
[URL Rewrite]
20-
^https?:\/\/weatherkit\.apple\.com\/api\/(v1\/availability|v2\/weather)\/ https://weatherkit.nanocat.workers.dev/api/$1/ header
20+
^https?:\/\/weatherkit\.apple\.com https://weatherkit.nanocat.cloud header
2121

2222
[MITM]
2323
hostname = weatherkit.apple.com

template/stash.workers.handlebars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ http:
2424
mitm:
2525
- "weatherkit.apple.com"
2626
url-rewrite:
27-
- ^https?:\/\/weatherkit\.apple\.com\/api\/(v1\/availability|v2\/weather)\/ https://weatherkit.nanocat.workers.dev/api/$1/ transparent
27+
- ^https?:\/\/weatherkit\.apple\.com https://weatherkit.nanocat.cloud transparent

template/surge.workers.handlebars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ DOMAIN,tether.edge.apple,REJECT-DROP
1515
AND,((OR,((IP-ASN,714,no-resolve),(IP-ASN,6185,no-resolve))),(PROTOCOL,QUIC)),REJECT-DROP
1616

1717
[URL Rewrite]
18-
^https?:\/\/weatherkit\.apple\.com\/api\/(v1\/availability|v2\/weather)\/ https://weatherkit.nanocat.workers.dev/api/$1/ header
18+
^https?:\/\/weatherkit\.apple\.com https://weatherkit.nanocat.cloud header
1919

2020
[MITM]
2121
hostname = %APPEND% weatherkit.apple.com

0 commit comments

Comments
 (0)