fix: remove useless local path

This commit is contained in:
Mahen 2026-05-19 14:17:41 +07:00
parent a810cb1a45
commit 54fd6ac26b
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ export const getAIRecommendation = async (
},
options?: { signal?: AbortSignal },
): Promise<AIRecommendationResponse> => {
const base_url = process.env.BACKEND_URL? process.env.BACKEND_URL.replace(/\/+$/, "") : "http://localhost:8000";
const base_url = process.env.BACKEND_URL;
const aiRes = await fetch(`${base_url}/recommend`, {
method: "POST",