nextjs-toploader icon indicating copy to clipboard operation
nextjs-toploader copied to clipboard

Allow passing of nonce to style tag (CSP)

Open rossdakin opened this issue 7 months ago • 0 comments

I have strict CSP headers in place, which this library breaks due to its use of <style> tags that don't have nonce or hash attributes on them.

This could be fixed by allowing the passing of a nonce (string) prop from the NextTopLoader component down to the <style> tags here and here.

rossdakin avatar Apr 30 '25 14:04 rossdakin