Subresource Integrity (SRI) #10458
-
Hello, I am facing a compliance issue, and it seems that Subresource Integrity (SRI) is required for our project. However, I'm unsure if I fully understand it or how to implement it correctly. I have searched through the documentation and on Google, but unfortunately, I couldn't find a solution to add the Subresource Integrity (SRI) attributes, such as integrity="sha384-3frxDlOvLa6GGEUwMh9AowcepHRx/rwFT9VW9yL1wv/OcerR39FEfAUHZRrqaOy2" crossorigin="anonymous" to both links and scripts. I did attempt to use the csp option in kit.Config, but it appears to address only part of the requirement, leaving the complete SRI implementation unresolved. Could someone please guide me on where to find the necessary information or how to correctly implement Subresource Integrity (SRI) for all relevant items? Your assistance would be greatly appreciated. Thank you in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi, I don't think this is something SvelteKit supports at the moment. However, you can open an issue for it. |
Beta Was this translation helpful? Give feedback.
Hi, I don't think this is something SvelteKit supports at the moment. However, you can open an issue for it.