Chris P Bacon
Chris P Bacon
SSolidJS
Created by Chris P Bacon on 11/6/2024 in #support
Css modules not getting nonce attribute
I am setting up my app with a strict CSP header and passing the nonce in createHandler work as expected for all assets in the header. But I don't get the nonce attribute on <style /> elements that solid and/or vite injects into the body for a route's css module. does anyone maybe know how to solve this? or otherwise point me to the code in solid's repo where css modules are handled
3 replies