title: How to stop laravel directory browsing
body: <p>When i go to <code>http://localhost:3000/SahanpCMS/resources/</code> , it shows directory listings. how can i stop this and redirect to <code>404</code> page?</p>
  
  <p><a href="https://i.stack.imgur.com/WflPd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WflPd.png" alt="enter image description here"></a></p>