mirror of
https://github.com/vega-org/vega-providers.git
synced 2026-04-17 23:51:44 +00:00
fix: update API endpoint to use new base URL for net-proxy requests
This commit is contained in:
@@ -9,7 +9,7 @@ export const getMeta = async function ({
|
||||
try {
|
||||
const isPrime =
|
||||
providerValue === "primeMirror" ? "isPrime=true" : "isPrime=false";
|
||||
const url = `https://netmirror.zendax.tech/api/net-proxy?${isPrime}&url=${encodeURIComponent(
|
||||
const url = `https://netmirror.8man.dev/api/net-proxy?${isPrime}&url=${encodeURIComponent(
|
||||
link
|
||||
)}`;
|
||||
console.log("nfifo", url);
|
||||
|
||||
@@ -24,7 +24,7 @@ export const getPosts = async function ({
|
||||
const isPrime =
|
||||
providerValue === "primeMirror" ? "isPrime=true" : "isPrime=false";
|
||||
|
||||
const url = `https://netmirror.zendax.tech/api/net-proxy?${isPrime}&url=${
|
||||
const url = `https://netmirror.8man.dev/api/net-proxy?${isPrime}&url=${
|
||||
baseUrl + filter
|
||||
}`;
|
||||
|
||||
@@ -89,7 +89,7 @@ export const getSearchPosts = async function ({
|
||||
const isPrime =
|
||||
providerValue === "primeMirror" ? "isPrime=true" : "isPrime=false";
|
||||
|
||||
const url = `https://netmirror.zendax.tech/api/net-proxy?${isPrime}&url=${baseUrl}${
|
||||
const url = `https://netmirror.8man.dev/api/net-proxy?${isPrime}&url=${baseUrl}${
|
||||
providerValue === "netflixMirror" ? "" : "/pv"
|
||||
}/search.php?s=${encodeURI(searchQuery)}`;
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ export const getStream = async ({
|
||||
try {
|
||||
let providerValue = "primeMirror";
|
||||
const baseUrl = "https://netfree2.cc";
|
||||
const url = `https://netmirror.zendax.tech/api/net-proxy?url=${baseUrl}${
|
||||
const url = `https://netmirror.8man.dev/api/net-proxy?url=${baseUrl}${
|
||||
providerValue === "netflixMirror"
|
||||
? "/mobile/playlist.php?id="
|
||||
: "/pv/playlist.php?id="
|
||||
|
||||
Reference in New Issue
Block a user