title: Laravel on shared hosting resource error
body: <p>I am trying to display images on laravel shared hosting but I cannot get it to work.</p>
  
  <p>On my local host I am using this: </p>
  
  <pre><code>      return asset("assets/avatars/avatar.png");
  </code></pre>
  
  <p>But on my shared hosting it does not find the image. So I have to use this:</p>
  
  <pre><code>      return asset("public/assets/avatars/avatar.png");
  </code></pre>
  
  <p>With adding the public. Is there any way I can make it universal so I do not have to change the code everytime I upload?</p>