Hey guys i was just working out on Proxy for calling nodejs server from react server, so after adding "proxy": "http://localhost:5000/"
to my package.json file in react i was able to redirect to localhost:5000 (which is running my node server) but it seems that Proxy only works with fetch and axios as
axios.get("/api/currentuser")
redirects me to localhost:5000 but then when i try this on anchor tag like
<li><a href="/auth/google">Login with google</a></li>
it doesn't takes me to localhost:5000
so is there any way that sometimes working with tag if i need to stay at localhost:3000i should be there and whenever i need i can go to localhost:5000 ???
cause not for all anchor tag i need to redirect to localhost:5000