refactor: change the recommend path

This commit is contained in:
Mahen 2026-04-13 12:46:03 +07:00
parent 07611f975e
commit 964e1a10e4
1 changed files with 2 additions and 1 deletions

View File

@ -80,7 +80,8 @@ const reviewDatas = [
]; ];
const scrapePath = "/api/scrape"; const scrapePath = "/api/scrape";
const backendUrl = process.env.BACKEND_URL || "http://localhost:8000"; // const backendUrl = process.env.BACKEND_URL || "http://localhost:8000";
const backendUrl = process.env.BACKEND_URL;
const aiRecommendPath = `${backendUrl}/recommend`; const aiRecommendPath = `${backendUrl}/recommend`;
const userMetricPath = "/api/user-metric"; const userMetricPath = "/api/user-metric";
const profilePath = "/api/profile"; const profilePath = "/api/profile";