Hey Y’all,
I’m trying to send a get request from App.js to server.js, but the html file is not being sent. The console.log(response.data) returns HTML text, so it looks like it’s connecting to my server, but its not redirecting to the board.html
Hey there,
Thanks for the reply. So when I use an a-tag, I can <a href="/b/general/">Board</a>, but nothing is rendered because that route is running on a different port on my server.js. I would have to use <a href="http://localhost:5000/b/general/">Board</a> for it to work locally, but I don’t see how that would work on a production build. Would proxies help with that?