config update to account for api

This commit is contained in:
Jacob Delgado 2024-11-18 21:35:28 -08:00
parent 92bd260c80
commit 4e6c6b7fdf
2 changed files with 13 additions and 1 deletions

View File

@ -27,6 +27,18 @@ const nextConfig = {
port: "1337",
pathname: "/**",
},
{
protocol: "https",
hostname: "api.kevosattire.com",
port: "",
pathname: "/**",
},
{
protocol: "http",
hostname: "192.168.50.107",
port: "1337",
pathname: "/**",
},
],
},
};

View File

@ -21,7 +21,7 @@ const Products = () => {
}
});
const data = await response.json();
// console.log(data.data);
console.log(data.data);
// console.log(data.data[0].image.url);
setData(data.data);
};