RevillWeb / img-2

Replace <img /> elements with <img-2> to automatically pre-cache images and improve page performance.
MIT License
1.89k stars 63 forks source link

Fix /absolute.png not working on /path #14

Closed abraham closed 6 years ago

abraham commented 6 years ago

If the component is used on https://example.com/path with a source of /images/awesome.jpg the asset will try to load from https://example.com/path/images/awesome.jpg.

RevillWeb commented 6 years ago

Thanks, Abraham! Your contributions are very welcome 👍