feat: pipe XOR decode + CDN CORS proxy for streaming

- decodePipeResponse now XOR-decodes with obfuscation key before gzip
- Updated pipe version to 0.2.0 to match miruro.tv
- Added /api/proxy endpoint for CORS-safe M3U8/VTT streaming
- Proxied stream/subtitle URLs through /api/proxy for browser playback
- M3U8 content rewritten to proxy variant playlists and segments
This commit is contained in:
Sʜɪɴᴇɪ Nᴏᴜᴢᴇɴ
2026-06-25 08:04:13 +05:30
parent 90b0999d7d
commit 74f3dcd7c3
4 changed files with 147 additions and 14 deletions
+8
View File
@@ -4,9 +4,17 @@
{
"src": "api/index.js",
"use": "@vercel/node"
},
{
"src": "api/proxy.js",
"use": "@vercel/node"
}
],
"routes": [
{
"src": "/api/proxy",
"dest": "/api/proxy.js"
},
{
"src": "/api/(.*)",
"dest": "/api/index.js"