diff --git a/components/productsPage/products.tsx b/components/productsPage/products.tsx index e50db7c..b897fb6 100644 --- a/components/productsPage/products.tsx +++ b/components/productsPage/products.tsx @@ -17,7 +17,7 @@ export default function Products() { useEffect(() => { async function getData() { - await axios.get("https://api.serenmebel.uz/api/products/").then((res) => { + await axios.get("https://admin.promtechno.uz/api/products/").then((res) => { console.log("all data: ", res?.data); const allData = res?.data || []; setAllProducts(allData);