@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user