Compare commits

..

3 Commits

Author SHA1 Message Date
xingteh
86fc70ea13 Add rewrite config 2026-02-16 19:13:38 +08:00
AirTouch
3fa1ab9f3c Remove port from IP entry in IPs.json 2026-02-16 11:02:28 +08:00
AirTouch
91f04cb94d Update IP address for hostname '[DE]官服' 2026-02-16 11:02:02 +08:00
2 changed files with 32 additions and 2 deletions

View File

@@ -2,7 +2,7 @@
{
"id": 1,
"hostname": "[DE]官服",
"ip": "letsplay.minecrafttransitrailway.com",
"ip": "85.10.194.15",
"port": 25565,
"enabled": true
},
@@ -30,7 +30,7 @@
{
"id": 5,
"hostname": "[DE]加速2",
"ip": "31.25.89.10:41598",
"ip": "31.25.89.10",
"port": 41598,
"enabled": true
},

30
rewrite_config.json Normal file
View File

@@ -0,0 +1,30 @@
{
"version": 1,
"rules": [
{
"patterns": [
"^https?://github\\.com(?::(?:80|443))?/([^/]+)/([^/]+)/raw/(?:refs/heads/)?([^/]+)/(.+)$",
"^https?://raw\\.githubusercontent\\.com(?::(?:80|443))?/([^/]+)/([^/]+)/(?:refs/heads/)?([^/]+)/(.+)$",
"^https?://raw\\.github\\.com(?::(?:80|443))?/([^/]+)/([^/]+)/([^/]+)/(.+)$",
"^https?://github\\.com(?::(?:80|443))?/([^/]+)/([^/]+)/blob/([^/]+)/(.+)\\?raw=true$"
],
"target": "https://ghfast.top/https://raw.githubusercontent.com/{$1}/{$2}/{$3}/{$4}"
},
{
"patterns": [
"^https?://cdn\\.discordapp\\.com(?::(?:80|443))?/attachments/(.+)$",
"^https?://media\\.discordapp\\.net(?::(?:80|443))?/attachments/(.+)$"
],
"target": "https://lps.gteh.top/dcimg/{$1}",
"ua": "SlideshowProxy",
"referer": "NULL"
},
{
"patterns": [
"^https?://i\\.imgur\\.com(?::(?:80|443))?/(.+)$"
],
"target": "https://img.noobzone.ru/getimg.php?url=https://i.imgur.com/{$1}",
"referer": "NULL"
}
]
}