From 36fa8f1c93fa5188cc21725787f78afcf4fab1a3 Mon Sep 17 00:00:00 2001 From: himanshu8443 Date: Wed, 9 Jul 2025 18:56:03 +0530 Subject: [PATCH] fix: update base URL for NetflixMirror and PrimeMirror to a static link --- dist/netflixMirror/stream.js | 2 +- dist/primeMirror/stream.js | 2 +- providers/netflixMirror/stream.ts | 2 +- providers/primeMirror/stream.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/netflixMirror/stream.js b/dist/netflixMirror/stream.js index 260afa6..f19e3f4 100644 --- a/dist/netflixMirror/stream.js +++ b/dist/netflixMirror/stream.js @@ -14,7 +14,7 @@ const getStream = (_a) => __awaiter(void 0, [_a], void 0, function* ({ link: id, const { getBaseUrl } = providerContext; try { let providerValue = "netflixMirror"; - const baseUrl = yield getBaseUrl("nfMirror"); + const baseUrl = "https://netfree2.cc"; const url = `https://netmirror.zendax.tech/api/net-proxy?url=${baseUrl}${providerValue === "netflixMirror" ? "/mobile/playlist.php?id=" : "/pv/playlist.php?id="}${id}&t=${Math.round(new Date().getTime() / 1000)}`; diff --git a/dist/primeMirror/stream.js b/dist/primeMirror/stream.js index b66f85a..a6bbc96 100644 --- a/dist/primeMirror/stream.js +++ b/dist/primeMirror/stream.js @@ -14,7 +14,7 @@ const getStream = (_a) => __awaiter(void 0, [_a], void 0, function* ({ link: id, const { getBaseUrl } = providerContext; try { let providerValue = "primeMirror"; - const baseUrl = yield getBaseUrl("nfMirror"); + const baseUrl = "https://netfree2.cc"; const url = `https://netmirror.zendax.tech/api/net-proxy?url=${baseUrl}${providerValue === "netflixMirror" ? "/mobile/playlist.php?id=" : "/pv/playlist.php?id="}${id}&t=${Math.round(new Date().getTime() / 1000)}`; diff --git a/providers/netflixMirror/stream.ts b/providers/netflixMirror/stream.ts index 1b0b0d7..4ad8983 100644 --- a/providers/netflixMirror/stream.ts +++ b/providers/netflixMirror/stream.ts @@ -10,7 +10,7 @@ export const getStream = async ({ const { getBaseUrl } = providerContext; try { let providerValue = "netflixMirror"; - const baseUrl = await getBaseUrl("nfMirror"); + const baseUrl = "https://netfree2.cc"; const url = `https://netmirror.zendax.tech/api/net-proxy?url=${baseUrl}${ providerValue === "netflixMirror" ? "/mobile/playlist.php?id=" diff --git a/providers/primeMirror/stream.ts b/providers/primeMirror/stream.ts index 175a93f..176001d 100644 --- a/providers/primeMirror/stream.ts +++ b/providers/primeMirror/stream.ts @@ -10,7 +10,7 @@ export const getStream = async ({ const { getBaseUrl } = providerContext; try { let providerValue = "primeMirror"; - const baseUrl = await getBaseUrl("nfMirror"); + const baseUrl = "https://netfree2.cc"; const url = `https://netmirror.zendax.tech/api/net-proxy?url=${baseUrl}${ providerValue === "netflixMirror" ? "/mobile/playlist.php?id="