From cdd3c08d53c4f20f9410ab4cb5de322dd25bb015 Mon Sep 17 00:00:00 2001 From: Matt DiMeglio Date: Sat, 14 Jun 2025 13:24:52 -0400 Subject: [PATCH] Update AppRouter.jsx --- web/src/router/AppRouter.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/router/AppRouter.jsx b/web/src/router/AppRouter.jsx index bea56a7..58fc06c 100644 --- a/web/src/router/AppRouter.jsx +++ b/web/src/router/AppRouter.jsx @@ -63,7 +63,7 @@ const AppRouter = () => { const fetchAPI = async () => { const location = window.location; - const uri = `${location?.protocol}//${location?.hostname}:5172/api`; + const uri = `192.168.0.105:5172/api`; const response = await axios.get(uri); console.log(response.data.fruits); };