diff --git a/src/app/api/imagens/anroll/route.js b/src/app/api/imagens/anroll/route.js index 26d6c4d..3840b05 100644 --- a/src/app/api/imagens/anroll/route.js +++ b/src/app/api/imagens/anroll/route.js @@ -1,5 +1,4 @@ import fetch from "node-fetch"; -import { HttpsProxyAgent } from "https-proxy-agent"; export async function GET(request) { const query = request.nextUrl.searchParams.get("q"); @@ -11,11 +10,8 @@ export async function GET(request) { ); try { - const proxy = "http://27.70.197.16:8080"; - const agent = new HttpsProxyAgent(proxy); const url = decodeURIComponent(query); const res = await fetch(url, { - agent, headers: { "Authority": new URL(url).host, "Host": "anroll.net",