title: Setting the correct Axios path after deployment to Heroku
body: <p>I've created a simple TODO list application using MERN stack, and it works find locally. I have deployed it to Heroku and the react page loads up, but it doesn't connect to my MongoDB database.</p>
  <p>It seems like since my axios code is set to localhost it is not getting the information from the database. I belive there is a way to set it so that instead of localhost it retrieves the correct url, but i don't know how to do that.</p>
  <p>Thank you.</p>
  <pre><code>axios.get(&quot;localhost:5000/user&quot;)
  </code></pre>