mirror of
https://github.com/Shineii86/MiruroAPI.git
synced 2026-10-22 10:15:10 +00:00
docs: full sweep — update all files to v2.3.0 with self-healing system
Updated 14 files across the repo to reflect v2.3.0: - README.md: version badge, 46 endpoints, self-healing section, changelog - test.js: version 2.3.0 - docs/*: architecture, endpoints, index, streaming — multi-mirror + fallback - public/*: index.html, docs.html, openapi.json, manifest.json, privacy, tos - api/proxy.js: updated example comments - src/routes/apiRoutes.js: endpoint count 36→46 All version refs updated from 2.1.4/2.2.0 → 2.3.0. Endpoint count updated to 46 (added /pipe-health). miruro.tv refs updated to multi-domain (miruro.to/ru/bz/tv). Syntax checks pass on all JS files.
This commit is contained in:
+2
-2
@@ -120,7 +120,7 @@ const decodePruUrl = (pruUrl) => {
|
||||
* @returns {string} Full PRU proxy URL
|
||||
*
|
||||
* @example
|
||||
* const pruUrl = encodeForPru("https://cdn.example.com/v.m3u8", "https://miruro.tv/");
|
||||
* const pruUrl = encodeForPru("https://cdn.example.com/v.m3u8", "https://miruro.to/");
|
||||
*/
|
||||
const encodeForPru = (rawUrl, referer) => {
|
||||
const urlEnc = base64urlXor(rawUrl);
|
||||
@@ -189,7 +189,7 @@ const rewriteM3U8 = (m3u8, targetReferer) => {
|
||||
* @query {string} referer - Optional referer header for the target
|
||||
*
|
||||
* @example
|
||||
* GET /api/proxy?url=https://example.com/video.m3u8&referer=https://miruro.tv/
|
||||
* GET /api/proxy?url=https://example.com/video.m3u8&referer=https://miruro.to/
|
||||
*/
|
||||
module.exports = async function handler(req, res) {
|
||||
// NOTE: CORS headers for browser requests
|
||||
|
||||
Reference in New Issue
Block a user