mercredi 6 novembre 2019

404 (Not Found) on my icon.svg - Ruby on rails app

I have an icon in my folder app > assets > medias > logo-footer.svg In my code it looks like this :

<img loading="lazy" class="footer__logo" src="app/assets/medias/logo-footer.svg" alt="Logo">

In my application I have an error in my console : GET http://127.0.0.1:3000/assets/icons.svg 404 (Not Found).

How can I set the right path to this icon.svg ?

Aucun commentaire:

Enregistrer un commentaire