Update content.tsx

This commit is contained in:
NotII
2025-03-06 19:08:41 +00:00
parent fd883b9283
commit 967714bc22

View File

@@ -209,7 +209,7 @@ export default function Content({ username, orderStats }: ContentProps) {
<div className="h-12 w-12 rounded-md bg-muted flex items-center justify-center">
{product.image ? (
<img
src={`${process.env.NEXT_PUBLIC_API_URL}/products/image/${product.id}`}
src={`${process.env.NEXT_PUBLIC_API_URL}/products/${product.id}/image`}
alt={product.name}
className="h-10 w-10 object-cover rounded-md"
onError={(e) => {