fix: use clear path backend url for public visibility
This commit is contained in:
parent
9369a29086
commit
c9edc4a3fc
|
|
@ -71,7 +71,7 @@ export const getAIRecommendation = async (
|
|||
},
|
||||
options?: { signal?: AbortSignal },
|
||||
): Promise<AIRecommendationResponse> => {
|
||||
const base_url = process.env.BACKEND_URL;
|
||||
const base_url = process.env.NEXT_PUBLIC_API_URL;
|
||||
console.log("BASE URL:", base_url);
|
||||
console.log("FULL TARGET URL:", `${base_url}/recommend`);
|
||||
const aiRes = await fetch(`${base_url}/recommend`, {
|
||||
|
|
|
|||
Loading…
Reference in New Issue