refactor: change the recommend path
This commit is contained in:
parent
07611f975e
commit
964e1a10e4
|
|
@ -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";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue