diff --git a/src/pages/HomePage.jsx b/src/pages/HomePage.jsx index 7526a9f..d2d8042 100644 --- a/src/pages/HomePage.jsx +++ b/src/pages/HomePage.jsx @@ -37,7 +37,7 @@ function HomePage() { useEffect(() => { if (!expandedCardId || cardImages[expandedCardId]) return; - fetch(`${API_BASE}/cardImage/${expandedCardId}`) + fetch(`http://localhost:3000/cardImage/${expandedCardId}`) .then(res => res.json()) .then(data => { if (data.image) setCardImage(expandedCardId, data.image);