diff --git a/frontend/src/ProductList.tsx b/frontend/src/ProductList.tsx index 6f935dd..9822b5a 100644 --- a/frontend/src/ProductList.tsx +++ b/frontend/src/ProductList.tsx @@ -14,7 +14,7 @@ const ProductList: React.FC = () => { const [loading, setLoading] = useState(true); useEffect(() => { - axios.get('http://127.0.0.1:8000/api/products/') + axios.get('http://127.0.0.1:8000/products/') .then(response => { setProducts(response.data); setLoading(false);