title: How to always return index.html TomCat
body: <p>I have an angular application running live on TomCat, but since I have implemented routing, if I visit a url manually I get a 404 not found. Also when an error occurs, it's a basic server page, not my error url page.</p>
  
  <p>How do I configure TomCat to always return index.html on routing and on errors? I know the set up, as I have done it with a different server, I'm just new to TomCat and couldn't find anything online.</p>
  
  <p>From my understanding, it's a pretty straightforward few lines of code in other back-end languages, I just can't find any info on TomCat.</p>