title: Refreshing same URL gives 404 not found in angular
body: <p>I have hosted my angular application on a server. When I click the server url , it redirects me to login page. However, when I refresh the same url suffixed with login, it gives me 404 not found error.
  The original url given is without login  suffix.
  Please help.</p>
  <p><a href="https://i.stack.imgur.com/Rge0f.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Rge0f.png" alt="enter image description here" /></a></p>
  <p><a href="https://i.stack.imgur.com/GDPCU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GDPCU.png" alt="enter image description here" /></a></p>
  <p>In app.routing.module.ts, I have configured router paths like this:</p>
  <p><a href="https://i.stack.imgur.com/cfIKu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cfIKu.png" alt="enter image description here" /></a></p>