From bdd81d5e4332c282b64ce9a9e39e9bbfeadc30ed Mon Sep 17 00:00:00 2001 From: Mahen Date: Sat, 4 Apr 2026 09:39:33 +0700 Subject: [PATCH] chore: change predicted endpoint path --- src/services/analyze.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/analyze.service.ts b/src/services/analyze.service.ts index 58265c2..a3ef6f4 100644 --- a/src/services/analyze.service.ts +++ b/src/services/analyze.service.ts @@ -70,7 +70,7 @@ export const getAIRecommendation = async ( options?: { signal?: AbortSignal }, ): Promise => { console.log("Fetching to FastAPI..."); - const aiRes = await fetch("http://localhost:8000/recommend", { + const aiRes = await fetch("https://citot123-tokped-scraper.hf.space/recommend", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify(payload),