From 2aae57178042ea731fed9bbd1454e48744391311 Mon Sep 17 00:00:00 2001 From: joseph le Date: Mon, 2 Oct 2023 10:19:10 +0700 Subject: [PATCH] update App.js --- website/src/App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/src/App.js b/website/src/App.js index e3bd959..9c9c630 100644 --- a/website/src/App.js +++ b/website/src/App.js @@ -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) {