kindspells / astro-shield

Astro integration to enhance your website's security with SubResource Integrity hashes, Content-Security-Policy headers, and other techniques.
https://astro-shield.kindspells.dev
MIT License
57 stars 6 forks source link

fix: removes duplicate base from resolved src #158

Closed castarco closed 3 weeks ago

castarco commented 3 weeks ago

This PR is based on the work made by @ndj91 and his PR #145 . I took the liberty of formatting and rebasing it so we can integrate it as soon as possible (authorship is preserved at the commit level).

Fixes #144