mirror of
https://bgithub.xyz/mtrlps-community/lps-community-guide.git
synced 2026-02-25 13:11:05 +08:00
Update rewrite config
This commit is contained in:
@@ -1,27 +1,30 @@
|
|||||||
[
|
{
|
||||||
{
|
"version": 1,
|
||||||
"patterns": [
|
"rules": [
|
||||||
"^https?://github\\.com(?::(?:80|443))?/([^/]+)/([^/]+)/raw/(?:refs/heads/)?([^/]+)/(.+)$",
|
{
|
||||||
"^https?://raw\\.githubusercontent\\.com(?::(?:80|443))?/([^/]+)/([^/]+)/(?:refs/heads/)?([^/]+)/(.+)$",
|
"patterns": [
|
||||||
"^https?://raw\\.github\\.com(?::(?:80|443))?/([^/]+)/([^/]+)/([^/]+)/(.+)$",
|
"^https?://github\\.com(?::(?:80|443))?/([^/]+)/([^/]+)/raw/(?:refs/heads/)?([^/]+)/(.+)$",
|
||||||
"^https?://github\\.com(?::(?:80|443))?/([^/]+)/([^/]+)/blob/([^/]+)/(.+)\\?raw=true$"
|
"^https?://raw\\.githubusercontent\\.com(?::(?:80|443))?/([^/]+)/([^/]+)/(?:refs/heads/)?([^/]+)/(.+)$",
|
||||||
],
|
"^https?://raw\\.github\\.com(?::(?:80|443))?/([^/]+)/([^/]+)/([^/]+)/(.+)$",
|
||||||
"target": "https://ghfast.top/https://raw.githubusercontent.com/{$1}/{$2}/{$3}/{$4}"
|
"^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/(.+)$"
|
"patterns": [
|
||||||
],
|
"^https?://cdn\\.discordapp\\.com(?::(?:80|443))?/attachments/(.+)$",
|
||||||
"target": "https://lps.gteh.top/dcimg/{$1}",
|
"^https?://media\\.discordapp\\.net(?::(?:80|443))?/attachments/(.+)$"
|
||||||
"ua": "SlideshowProxy",
|
],
|
||||||
"referer": "NULL"
|
"target": "https://lps.gteh.top/dcimg/{$1}",
|
||||||
},
|
"ua": "SlideshowProxy",
|
||||||
{
|
"referer": "NULL"
|
||||||
"patterns": [
|
},
|
||||||
"^https?://i\\.imgur\\.com(?::(?:80|443))?/(.+)$"
|
{
|
||||||
],
|
"patterns": [
|
||||||
"target": "https://img.noobzone.ru/getimg.php?url=https://i.imgur.com/{$1}",
|
"^https?://i\\.imgur\\.com(?::(?:80|443))?/(.+)$"
|
||||||
"referer": "NULL"
|
],
|
||||||
}
|
"target": "https://img.noobzone.ru/getimg.php?url=https://i.imgur.com/{$1}",
|
||||||
]
|
"referer": "NULL"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user