Update AppRouter.jsx

This commit is contained in:
Matt DiMeglio 2025-06-14 13:16:29 -04:00
parent a956cb26c3
commit 457a45cabb

View file

@ -63,7 +63,7 @@ const AppRouter = () => {
const fetchAPI = async () => {
const location = window.location;
const uri = `${location?.protocol}//${location?.hostname}${isDev ? ':5172' : ''}/api`;
const uri = `http://localhost:5172/api`;
const response = await axios.get(uri);
console.log(response.data.fruits);
};