update App.js

This commit is contained in:
joseph le 2023-10-02 10:19:10 +07:00
parent 45d9974349
commit 2aae571780
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ const App = () => {
const getProducts = async () => {
try {
const res = await axios.get("http://127.0.0.1:8000");
const res = await axios.get("http://172.16.2.99/api/products");
setAllProducts(res.data);
} catch (error) {