Files
static/rewrite_config.json
T
2026-08-15 11:17:54 +08:00

22 lines
770 B
JSON

{
"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?://i\\.imgur\\.com(?::(?:80|443))?/(.+)$"
],
"target": "https://img.noobzone.ru/getimg.php?url=https://i.imgur.com/{$1}",
"referer": "NULL"
}
]
}