axios
.get(`/?keyword=${queries}`)
.then(res => {
setResponse(res);
console.log("Test----");
console.table(res);
setSearching(true);
})
.catch(console.log);
Here I'm trying to request a json file from a site that is at a port 5000, my current port for the frontend is port 3000. What is going on? why does this keep happening?